Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in calling class within a prg
Message
 
To
12/05/2005 10:13:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Oracle
Miscellaneous
Thread ID:
01013376
Message ID:
01013465
Views:
10
I guess you are using:
myObject = newobject('myClass', 'myClassInAProgram')
This will try to find "myClassInAProgram.VCX", thus you need to provide the extension:
myObject = newobject('myClass', 'myClassInAProgram.PRG')
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform