Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Createobjectex Problems
Message
De
02/12/2002 11:05:28
 
 
À
02/12/2002 10:51:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00728605
Message ID:
00728624
Vues:
17
You upgraded the local or remote machine? You may need to register the DLL again if it was the server.

How about this syntax for CREATEOBJECTEX ():
ox = CREATEOBJECTEX ("excel.application", "", "")
HTH

>I have been using
>
>ox = createobjectex("{1D836EC8-10AE-11D4-9A78-0050DAB55C7B}","")
>ox.ResetPrinterDC(lcprinter,.hDC,2)
>
>to call a dll that changes the duplex setting of the printer.
>
>We finally upgraded to win2000 and and I am getting an error
>
>OLE error code 0x80040154: Class not registered.
>
>I would assume that is because the ID changed on the win2k machines.
>
>Is there a way to get the class id? Or is there a better way to do this?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform