Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject and NewObject not working on workstations
Message
From
28/07/2009 15:11:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
CreateObject and NewObject not working on workstations
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01415148
Message ID:
01415148
Views:
305
I have a class (sqlclsss.vcx) included in my executable that I instantiate the object like this:
SET CLASSLIB TO sqlclss ADDITIVE
lcSqlConfgConn = 'oConn'+TRIM(sqlconfg.product)  && example would be 'oConnFire'
&lcSqlConfgConn = CREATEOBJECT("SQLCLSS.SQLPROC")  && sqlproc has methods and properties  <  -- ERROR HERE
The class is included in the executable and it works on my development machine, but not on the client's. any ideas why? It returns a bad command verb error.

NEWOBJECT() fails as well with the 'Unrecognized command verb' error.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform