General information
Category:
COM/DCOM and OLE Automation
In VB you need to set the class up as a 'reference'
Goto the project menu, and choose references,
A huge list will come up with all the registered COM/ActiveX objects on the system.
Choose the one you have created, Unless you change the name, should be something like yourprg Type Library.
Once you have ticked it, and hit OK, VB will be able to create instances of it, and IntelliSense will kick in to make it all that bit easier.
Code such as this will work
Dim o As New yourprg.Myclass
o.doMethod(withParameter)
HTH
- Chris
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only