Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating COM object
Message
From
06/01/2000 23:36:20
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00314058
Message ID:
00314320
Views:
23
>Hi All,
>
>I'd like to create a COM object. It is the Component Categories Manager. The CLSID is {0002E005-0000-0000-C000-000000000046}. It is a component from comcat.dll.
>

To instanciate a COM object in VFP, you'll need to know its ProgID. You can search in the registry using the GUID that you have, and find the ProgID (in the format Server.Class. ONce you have that, you can create it using

oCOM = CREATEOBJECT("Server.Class")
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform