Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regasm and createobject
Message
 
To
11/07/2006 14:56:46
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01135487
Message ID:
01135491
Views:
15
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform