Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regasm and createobject
Message
 
À
11/07/2006 14:56:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01135487
Message ID:
01135491
Vues:
16
>I am trying to use a DLL that i registered using the "regasm" command. I have registered several files under regsvr32. The problem is i cannot figure out what name to use in CREATEOBJECT(). Obviously i haven't done this a lot but i can't seem to identify what name to use to create an object of of this dll. Any help is appreciated.

Open this DLL with Object Browser. Main node is first part ot class.
i.e. if you open Excel.EXE with object browser you could see EXCEL as Main node and several classes in it starting with Application, Chart etc. so you must use
oXl = CREATEOBJECT([Excle.Application])
If you want to create an instance to Application Class
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform