Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Computer name and CREATEOBJECTEX()
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Computer name and CREATEOBJECTEX()
Divers
Thread ID:
00771842
Message ID:
00771842
Vues:
57
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform