Ok have data tables declared as classes. One class per table. How do l now take these classes and combine them into a dll file.
Printable View
Ok have data tables declared as classes. One class per table. How do l now take these classes and combine them into a dll file.
Add all the classes into a new ActiveX DLL project and compile. VOILA!
Thanks Clunietp,
For the ActiveX dll project, in prioperties what do l set as the starting point, in a normal project would be something like Sub Main().
Do l then need to register the dll.
Need to get the dll happening because of major project where the same databases are used by multiple exes across a distributed client/server environment
there is no Sub_Main(), but the Class_Initialize event is fired when your object is instantiated.
VB Automatically registers the DLL on the machine that you build it on when you compile it, otherwise run REGSVR32.EXE DllName.DLL to register it on the client machine
Thanks again Clunietp.
Managed to get an example up and running, this will save alot of work later in my current project. :)