Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Have to distribute .vcx with .app?
Message
From
18/04/1997 12:20:47
 
 
To
17/04/1997 17:45:00
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00028829
Message ID:
00028884
Views:
37
>To speed up the launch time of a form, I tried the technique of saving the contents of each page after the 1st to a class, then in the activate code for the page instantiating the class with .addObject(etc., etc.). I saved the classes to a visual class library.
>
>When I run the form, the classes don't get created unless I SET CLASSLIB TO the .vcx, even if I compile the form as an .app and include the library. My question is, do I have to keep the .vcx open and available to everyone running the app, or can I somehow roll it up into the compiled app? I'd like to be able to work on the class library and the form while everyone is running the app, then just recompile the app when I'm done. Otherwise I'll get confused trying to maintain one copy of the .vcx for current use and another for tweaking.
>
>Thanks,
>Ross

VCX files incorporated to exe so you can work with source regardless who runs exe. But, you code still needs in command SET CLASSLIB (put it into start module where you set environment) just to know what 'part of exe code' should be used.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform