Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting VB Functions

Status
Not open for further replies.

Cocheez

Programmer
Jun 6, 2001
56
0
0
US
How or can you export functions in a VB(ActiveX) DLL so that you can call them using the 'Declare' statement in Visual Basic as you would using API functions?

I know VB creates 4 exported functions already in it's ActiveX DLLs for registering and unregistering and createing and releasing classes.

If it can do it we should be able to also, I just can seem to find out how.

Thanks Guys !!
-Matt
 
You can't. VB generates a COM DLL. The API DLL's are not COM. Public methods (Sub, Function, Property) of the classes in yoyur DLL will be exposed so that if you include the DLL in the Project Components, you will be able to use them. Generate Forms/Controls Resizing/Tabbing Class
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top