Active X dll document in visual basic 6.0

Discussion in 'MCSD' started by Jawad Rehman, Sep 2, 2006.

  1. Jawad Rehman

    Jawad Rehman Guest

    Hi

    I have Created Active X dll document in Visual Basic which
    consists of some interface elements.ie Button and Textbox etc.
    and then create actual Dll of the document.through Command
    file->create Project DLL..


    now i want that to include this dll file in another Project
    exe file .and use the dll interface .

    help me how it is possible....
     
    Jawad Rehman, Sep 2, 2006
    #1
    1. Advertising

  2. Sept. 3, 2006

    Hey Jawad... Honestly, I don't use VB 6.0 (pre-.net) components, and so
    can't give an answer myself... but I would encourage you to post this to the
    VB 6.0 newsgroup (lots of people there give answers), as I think you'll get
    a bigger response there...

    The name of the newsgroup is:
    microsoft.public.vb.general.discussion

    Hope this helps and good luck!
    --
    Joseph Bittman
    Microsoft Certified Solution Developer
    Microsoft Most Valuable Professional -- DPM

    Web Site/Blog: http://CactiDevelopers.ResDev.Net/

    "Jawad Rehman" <> wrote in message
    news:...
    > Hi
    >
    > I have Created Active X dll document in Visual Basic which
    > consists of some interface elements.ie Button and Textbox etc.
    > and then create actual Dll of the document.through Command
    > file->create Project DLL..
    >
    >
    > now i want that to include this dll file in another Project
    > exe file .and use the dll interface .
    >
    > help me how it is possible....
    >
     
    Joseph Bittman MVP MCSD, Sep 4, 2006
    #2
    1. Advertising

  3. Jawad Rehman

    Blackmetal Guest

    Hi,

    In order to use the new DLL, in the new project, you can do it in two ways:

    1. In the new project, add a New Project to the group and open the project
    that contains your DLL, Or

    2. In the VB Menu, goto Project->References and look for your DLL in the
    list of possible ActiveX servers and mark the check box to add a reference
    to your new project.

    But before that, make sure that your DLL project is Instantiable and it is
    registered (using RegSvr32)

    Hope this helps

    "Jawad Rehman" <> wrote in message
    news:...
    > Hi
    >
    > I have Created Active X dll document in Visual Basic which
    > consists of some interface elements.ie Button and Textbox etc.
    > and then create actual Dll of the document.through Command
    > file->create Project DLL..
    >
    >
    > now i want that to include this dll file in another Project
    > exe file .and use the dll interface .
    >
    > help me how it is possible....
    >
     
    Blackmetal, Sep 13, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jaime
    Replies:
    2
    Views:
    591
    Jaime
    Sep 20, 2003
  2. ¢harlie
    Replies:
    0
    Views:
    793
    ¢harlie
    Dec 26, 2003
  3. Jimmy Dean
    Replies:
    3
    Views:
    1,226
    Duane Arnold
    Jul 25, 2005
  4. Snoopy
    Replies:
    16
    Views:
    3,201
    Mainlander
    Aug 25, 2003
  5. TJ
    Replies:
    1
    Views:
    384
    =-Zero@HK-=ASP.Net / VB
    Sep 23, 2005
Loading...

Share This Page