I know that DLLs can be created in VB, but I have a couple of queries. Can DLLs be in leiu of modules, ie for Constants and Functions? What is the benefit of using DLL's? Is there a major decrease in project size when DLLs are used?
Printable View
I know that DLLs can be created in VB, but I have a couple of queries. Can DLLs be in leiu of modules, ie for Constants and Functions? What is the benefit of using DLL's? Is there a major decrease in project size when DLLs are used?
Anyone?
VB can't create proper DLLs with functions in, although you can create ActiveX DLLs, which basically contain classes. So, if you put your functions into a class...you're away. And yes, it does decrease the size of your EXE, although total size goes up.
However, it makes it easier to upgrade the app :),
Thanks Parksie!
How do I go about putting my Functions into classes?
First, create a new ActiveX DLL project, then just put the functions into a class module. You'd have to register the DLL - I think there's a tutorial on VB-World somewhere.
Thanks!
Search the forums for this topic. I remember about 2-3 topics about this.