Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Browser Ok - Cannot instanciate
Message
From
23/12/2005 12:46:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Object Browser Ok - Cannot instanciate
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01080586
Message ID:
01080586
Views:
64
Just getting my feet wet with Com interop. I have developed a simple class in VB.Net complete with the appropriate interfaces and compiled it with COM registration. When I examine the object in VFP9 using the Object Explorer, after having scanned the registry, The object is visible with the class as expected. The methods are identified and all appears OK. But when I try to instanciate the object with
o=CREATEOBJECT('aws2test1.tester')
I get the error :
Class definition AWS2TEST1.TESTER is not found.
If I try to use
o=CREATEOBJECTEX('aws2test1.tester',"","")
I get the error:

OLE error code 0x800401f3: Invalid class string.

Any suggestions?

Glenn
Next
Reply
Map
View

Click here to load this message in the networking platform