Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to instantiate a form class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01110219
Message ID:
01111852
Views:
18
Thank's for the tip.

>>
>>oMyForm = NewObject('MyFormClassName','Drive:\Dir\MyClassLibName.vcx')
>>oMyForm.Show()
>>
>>
>>HTH
>
>I've found that hardcoding a full path for the classlib is bad practice. Once the app is built and deployed, if the user can't access that path, the app can slow down LOTS.
>
>The full path isn't required once your app is buillt, all of the classllibs are in the exe, so just setting up your path in VFP while developing is much better. It also lets you move your project without having pathing problems.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Reply
Map
View

Click here to load this message in the networking platform