Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to Create Object
Message
 
To
27/02/2008 12:34:35
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01296912
Message ID:
01296988
Views:
9
>Sweet! You da man!
>
>>You got the NEWOBJECT wrong. Try this syntax:
oAddRec = NEWOBJECT ('GridAddRec','FM_BaseButtons.vcx')
>Ok, good advice. I'm now using this line but still getting an error.
>>>=NEWOBJECT( 'oAddRec', 'GridAddRec','FM_BaseButtons.vcx' )
>The error is that "c:\FMSDev_Sch\libs\FM_BaseButtons.vcx" does not exist. But I have verified that it does and that there is a SET CLASSLIB to it in my Main program. Why can't it find it?

It should be in PATH not in SET CLASSLIB when you use NEWOBJECT()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform