Using .NET-Class in VB6 and make them ready for setup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nijazi Halimaji

    Using .NET-Class in VB6 and make them ready for setup

    Hi everybody

    I have created a .NET Library (Build it) and implemented it in VB6. In VB6 i
    used a reference to get the functions, etc. and it worked fine.

    But when I make a setup project in VB6 install it to another computer I have
    the problem, that the reference to the class is not there (the net-dll i
    installed in the same directory a the application). An error is shown, that
    the object has not been found.

    Do I make a general mistake in this case?

    Thanks alot

    Nijazi Halimaji


  • Phill.  W

    #2
    Re: Using .NET-Class in VB6 and make them ready for setup

    "Nijazi Halimaji" <spami@gmx.ne t> wrote in message
    news:%23P3Ktvvp FHA.3244@TK2MSF TNGP09.phx.gbl. ..
    [color=blue]
    > I have created a .NET Library (Build it) and implemented it in VB6.
    > In VB6 i used a reference to get the functions, etc. and it worked fine.
    >
    > But when I make a setup project in VB6 install it to another computer
    > I have the problem, that the reference to the class is not there
    > (the net-dll i installed in the same directory a the application).[/color]

    Did you register it?
    In order for your VB6 application to use it, the .Net Dll must be
    registered, much like any other COM Dll. Simply putting the [.Net]
    Dll in the same directory as the VB6 application is /not/ sufficient.

    Also, does the other computer have the .Net Framework installed?

    HTH,
    Phill W.


    Comment

    Working...