Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NewObject not working in Runtime
Message
 
To
21/06/2003 14:38:20
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00802619
Message ID:
00803262
Views:
18
Is the file 'edc.vcx' available to your exe application? You may want to specify the exe instead if 'edc.vcx' is built into your application.



>I'm using VFP 7.0
>
>form.load()
>  return dodefault() and Valid_User(this)
>
>Valid_User.prg
>  LPARAMETERS toForm
>    messagebox('1')
>    toForm.NEWOBJECT('cntUser1','cntUser','edc.vcx')
>    messagebox('3')
>    return toForm.cntUser1.Valid_User()
>
>class cntUser in edc.vcx
>  procedure Init()
>    messagebox('2')
>
>During Runtime (exe file) the NewObject() never executes. I never get the 2nd messagebox or the 3rd.
>The app just quits - no error message - not anything.
>
>Works fine in development mode.
>
>TIA
Mathias Banda

Time is longer than a rope.
Previous
Reply
Map
View

Click here to load this message in the networking platform