Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newobject
Message
 
To
17/03/2017 12:42:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01649136
Message ID:
01649139
Views:
63
Likes (1)
>Hi,
>
>When using the NEWOBJECT() function, the third argument references the source of the class; either current application (0), or external. BUT, in develpment negter apply and error occurs IF parameters are involved.
>
>
>= NewObject( "test", "test.vcx", 0, para1, para2 )
>
>
>what am I forgetting?

Try with empty string instead of 0
= NewObject( "test", "test.vcx", "", para1, para2 )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform