Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2002
    Location
    Hamilton,Ontario
    Posts
    132

    Unanswered: Information aBOUT dll in vb so far

    This is what I found out so far bout making dll in vb to contain all my functions.
    can any one tell me if im on right track please
    1-Create a new "ActiveX DLL" project
    2-There is one class in the project.
    Open the class in the code window and create a public function...
    and throw all my functions there
    3.Save the project. name the project and class anything you like.
    4-Click on the File menu and Choose MAKE (Name).dll

    Am I on right track?
    AND Now how do i reference that dll from my access application?
    I have no pervious exp with DLLS ,its my first time i will a DLL, and because of the system performance, I believe this is the only way out.
    Another reason is tthat it will be faster to work with DLL than this application for sure.
    I will appreciate your help.
    thanx in advance.

  2. #2
    Join Date
    Jan 2003
    Location
    Rockville, MD
    Posts
    179
    I've never made a .dll from VB, but I've used them. Use the "declare" statement in access, to set up functions that you want to call from the .dll you create.

  3. #3
    Join Date
    Feb 2004
    Posts
    1

    Re: Information aBOUT dll in vb so far

    Originally posted by VBAPROGRAMMER
    This is what I found out so far bout making dll in vb to contain all my functions.
    can any one tell me if im on right track please
    1-Create a new "ActiveX DLL" project
    2-There is one class in the project.
    Open the class in the code window and create a public function...
    and throw all my functions there
    3.Save the project. name the project and class anything you like.
    4-Click on the File menu and Choose MAKE (Name).dll

    Am I on right track?
    AND Now how do i reference that dll from my access application?
    I have no pervious exp with DLLS ,its my first time i will a DLL, and because of the system performance, I believe this is the only way out.
    Another reason is tthat it will be faster to work with DLL than this application for sure.
    I will appreciate your help.
    thanx in advance.


    Sorry, the enter button was pressed by mistake here is the continuation of the reply that I posted previously.

    1>....
    2>....
    3>....

    4>Press OK button.

    5>you will receive message informing you that the registration is
    done or not successfully.

    6> Then in Vb to access this file Open the references dialog box there you will find your file description check it and press ok.

    7>If you don't find your file description in the references list then browse it and then select .Press ok.

    Regards,
    Gajanan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •