How I create a DLL in VB?

Select ActiveX Dll Project Type

Be advised, this type of .DLL is not a Real .DLL, but an activeX (COM) DLL. The difference has to do with dependancies, and entry points, which is well beyond the scope of this thread, and may need to be in a different forum altogether. For the sake of simplicity, however, know that there is a difference between a VB .DLL, and a "real .dll"

Right, The Clarification is necessary because in VB6, there are drastically different methods for using the functions in each. You can't declare an activex-dll and use it like you would kernel32.dll. You have to add a reference to an activex-dll in vb's IDE, where you must declare (like an API call) "standard" dll's.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.