>
>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.
Cheers,
Jamie