Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Computer name and CREATEOBJECTEX()
Message
From
30/03/2003 13:15:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Computer name and CREATEOBJECTEX()
Miscellaneous
Thread ID:
00771842
Message ID:
00771842
Views:
59
Hi

Having determined on what computer my dll resides (in this instance the dll is registered on that machine) I proceed with
o2=CREATEOBJECTEX("MyProject.MyPublicOleClass","\\YOTTA")
I get a "Class not registered" error (YOTTA is the name of the computer) even if I run it on the computer (YOTTA) it is registered on.

yet
o2=CREATEOBJECTEX("MyProject.MyOlePublicClass","")
works fine.

Next I try the example in the help
o3 = CREATEOBJECTEX("excel.application","\\YOTTA","")
This works fine.

Obviously, I am missing something.

Is there something extra I need to do in the registration process???

Why does CREATEOBJECTEX work locally but not when the computer name is specified???

Why does CREATEOBJECTEX not work with my and other registered dll's & Ocx's yet work with excel???


Regards
Geoff Scott
May all your weeds be wildflowers
Next
Reply
Map
View

Click here to load this message in the networking platform