Running the Class Browser

You can run Class Browser by selecting the Class Browser... menu item from the Tools menu. You will be required to select a Visual Class Library file (VCX).

You can also programmatically execute the Class Browser by using the following syntax:


DO BROWSER WITH    [<class library (VCX)> | <object reference] ;
                [, <class name>]]

Be sure to include the Visual FoxPro startup directory if your FoxPro PATH does not already include it. When the _BROWSER system memory variable is added, you will be able to execute the following:


DO (_BROWSER) WITH    [<class library (VCX)> | <object reference];
                    [, <class name>]]

As a tip, you might want to create a PUBLIC memory variable called _BROWSER and set it to the full path name of BROWSER.APP in the Visual FoxPro startup directory.

Example:


_BROWSER="C:\VFP\BROWSER.APP"
DO BROWSER WITH "C:\VFP\SAMPLES\MAINSAMP\TSBASE"

For more information about the Class Browser release notes, press:

Help in Class Browser.