Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() vs. NewObject() functions
Message
 
To
15/12/2008 08:03:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01367158
Message ID:
01367385
Views:
7
Hi Cetin

>Which is more advisable? If you take my advice use NewObject() if the classes are coming from a prg or vcx. If you have "set path ..." includes "C:\VSO3\Common\Libs" then
>
loODBC = NEWOBJECT("cODBC", "cVSONoSCNonVisualUtilities")
Funny, though I have the classlib folder in the SET("PATH") yet this won't work for me. I have confirmed this by displaying the SET("PATH") just before the call.

Thanks for responding.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform