Grouping generic functionality
Hi all,
Im using VB6 SP6.
I have a whole bunch of code in different functions and subs that I would like to group together and allow other VB apps to use it.
In an OO app Java for eg I would put all this code into a class of its own and group related classes into a package.
An eg I have is I want to create an emailing class that has functions to make it easier to email groups of people or individuals depending on the input.
How do I go about doing this in VB?
I assume I put this code into a DLL however AFAIK windows DLLs are written in C++ which I have no knowledge of.
thanks
Re: Grouping generic functionality
You can create ActiveX DLLs in VB. Start VB and select ActiveX DLL from the New Project dialog. Add a class module that contains your code and you're off! Public Subs and Functions in your class become the DLL's methods.
Re: Grouping generic functionality
Re: Grouping generic functionality