|
-
Oct 10th, 2000, 12:38 PM
#1
Thread Starter
Hyperactive Member
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?
-
Oct 10th, 2000, 01:52 PM
#2
Thread Starter
Hyperactive Member
-
Oct 10th, 2000, 02:16 PM
#3
Monday Morning Lunatic
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 ,
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 10th, 2000, 02:20 PM
#4
Thread Starter
Hyperactive Member
Thanks Parksie!
How do I go about putting my Functions into classes?
-
Oct 10th, 2000, 02:23 PM
#5
Monday Morning Lunatic
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 10th, 2000, 02:29 PM
#6
Thread Starter
Hyperactive Member
-
Oct 10th, 2000, 02:38 PM
#7
Search the forums for this topic. I remember about 2-3 topics about this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|