Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking the existence MS word for using OLE
Message
From
02/11/1998 17:50:34
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00153327
Message ID:
00153735
Views:
25
>Unless the created instance of the COM Server will stick around - reading the registry is the way to go!! CreateObject will work, but it is slow - especially since the the object instance gets destroyed anyway.
>


I'm not sure I understand. CREATEOBJECT is slow, but only if it succeeds. If you attempt to instanciate a server type that doesn't exist, CREATEOBJECT is fairly fast in returning an error.

>BTW, have you checked out the Windows Scripting Host yet for reading the registry???
>

No, I have a registry class that I have been using for a long time now, and haven't had a reason to look elsewhere. What is special about wsh?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform