Results 1 to 7 of 7

Thread: DLLs

  1. #1

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425

    Question

    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?

  2. #2

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425
    Anyone?

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  4. #4

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425
    Thanks Parksie!

    How do I go about putting my Functions into classes?

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  6. #6

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425
    Thanks!

  7. #7
    Guest
    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
  •  



Click Here to Expand Forum to Full Width