Results 1 to 4 of 4

Thread: DLL FILES

  1. #1

    Thread Starter
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    how do i use dll files??
    how do i make dll files??

  2. #2
    Addicted Member jcouture100's Avatar
    Join Date
    Aug 1999
    Posts
    141
    1. How to use a DLL.
    Create a reference to the DLL you want to use under
    PROJECT-REFERENCES menu. Once you do this, you can use the object browser in VB to see all of the exposed properties/methods available within the DLL. If the DLL is designed for user friendliness, the information area in the object browser will tell you about the use of the various methods. You will most likely need to create an object variable to access the methods within the DLL.

    Example:
    Code:
    Dim objMyObject as New DLLClassName
    2. How do I create a DLL.
    I recommend checking out the MSDN help under
    DLL (defined), creating

    Basically, you are going to create a class module with all of the properties and methods defined and then compile it into a DLL.

    I know that this info is extremely general, but for such short questions, they are really asking for a LOT of info.

    Good Luck.
    JC

  3. #3
    Guest
    Not sure exactly what you are asking??? You create .dll projects in the same way as you would create an activeX project, don't have vb in front of me to check the actually project type, but check the help out.

    We use dll files in three tiered solutions. Where the data properties, business rules, manipulation etc are built as dlls which can then be accessed from the desktop.

    Therefore if l define a dll of classes for say sales, l don't have to rebuild the code for separate sales and receivables desktop apps. I simply make a reference to the single dll on the server and all built in functions, methods, properties, are accessable.

    If you are building simple desktop apps, then dll projects are maybe a bit of an over-kill. Simply create a class for each thing you want and hook it in where ya need to use it.

    Problem doesn't help , you need to be a bit more specific about what you want to do with dlls. There are whole chapters and books dedicated to this stuff.

  4. #4

    Thread Starter
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    ok thanks for your replies

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