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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiling as dll

Status
Not open for further replies.

KingLouie

Programmer
Apr 12, 2002
11
CH
does someone know a dll-compiler for vb-modules?
thanx
 
Hi,
The normal way is to open an ActiveX dll project and develop your code. Then use the Make YourProjectName.dll option under File menu to create the dll. Hope it helps. Let me know what happens.
With regards,
PGK
 
You can only compile ActiveX (COM) DLLs from VB - and, as pgk points out, this is done by VB itself.
 
jes i got that. but how do i have to declare the functions in the ActiveX project? When i just use Public Sub MyFunction() it cant be called... (Dll entry point was not found)
thanx for your support!
 
When you create a ActiveX dll in VB a class called Class1 is created by default.

You can then call public functions, that are in Modules for example, from the class using a method of the class, or place the public function inside the class as a method of the class.

You need to first do some reading up on how to use a basic ActiveX dll. [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top