How to Load the Class Browser into Memory on StartupID: Q131473 3.00 WINDOWS kbtool The information in this article applies to:
SUMMARYThis article describes how to add the Class Browser item to the System Menu during Startup and, if desired, also load it into memory at startup.
MORE INFORMATIONIf you create your own startup routine, you might want to add the following code to it to be sure the default system menu has the Class Browser item. Calling the Class Browser (BROWSER.APP) with a zero (0) numeric parameter doesn't load the Class Browser, but it does ensure that the Class Browser menu item appears in the Tools menu. Calling the Class Browser (BROWSER.APP) with a one (1) numeric parameter, adds the menu item and loads the Class Browser into memory. The benefit is that the OLE container support files (outline, OCX files, and so on) are loaded into Windows memory. This is useful if you prefer to place the first- time OLE load delay at start-up rather than when you run/edit a form with an OCX Control.
Step-by-Step Procedure1. Open the VFPSTART.PRG file:
2. Enter or modify the following source code:
3. Save the Program.
4. Exit and restart Visual FoxPro to make these changes take effect. Additional reference words: 3.00 VFoxWin KBCategory: kbtool KBSubcategory: FxtoolClassbrow
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |