Results 1 to 7 of 7

Thread: activeX licence problem

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2003
    Posts
    52

    activeX licence problem

    Hi all,

    I made a app in vb.Net and I'm using MSFlexGrid from vb6 in it. When i try to install the app on a computer running win2000 and not having Vb.net installed, the flexgrid controll doesn't work.

    I tried using a setup project from vb.net, inno setup and install shield. The problem I have is that I get something like "you don't have licence to use this axtiveX controll.." when trying to show the grid. The msflxgrd.ocx and msflxgrd.dep is included in the setup, as well as AxInterop.MSFlexGridLib.dll and Interop.MSFlexGridLib.dll. The grid is created at form load and this works without any errors, it's first when I try to do something with the grid, set the text of a cell or change the width of a column or etc.

    In the setup project in vb.net it tells me that "msflxgrd.ocx might have dependencies that it can't decide, be sure they all are in place.." or simular.

    Install shield tells me the same thing, and try to find any depencies without finding any. Obviously there are depencies that needs to go along to get it to work, but how can I find them and solve the problem.

    I have installed .net framework and sdk on the target machine(win2000). The exact error msg are in swedish there for they are not exact.

    Please help.

    Regards

    Jonni

  2. #2
    Addicted Member Filik's Avatar
    Join Date
    Aug 2005
    Posts
    208

    Re: activeX licence problem

    Hi,
    i have the same problem with a Winsock Server/Client application, the client works fine on a remote machine but the server gives me a "U dont have the licence to use ActiveX" error. Plzzzz help!
    Thanks

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2003
    Posts
    52

    Re: activeX licence problem

    I solved the problem by installing vb6.0 (and then uninstalling it again if wanted). This way the controll works. It's not a great solution but it works for my problem...

    I assume this is because I used Interop and a vb6 component in .NET. How to actually get the axtiveX component licensed I don't know.

    Jonni

  4. #4
    Addicted Member Filik's Avatar
    Join Date
    Aug 2005
    Posts
    208

    Re: activeX licence problem

    The problem is that the Error occurs on a machine without a vb6.0, so what should i do then? and btw, i have vb 6.0 installed on my machine but the ActiveX works fine.

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2003
    Posts
    52

    Re: activeX licence problem

    I meant that I installed and uninstalled vb6 on the target machine where it doesn't work. Then it will work on that machine. If the app will be installed on many different locations this might not be a solution but if it is only a few machines it might be ok.

    The reason it works on your machine is probably just because there is (or was) vb6 installed.

    Jonni

  6. #6
    Addicted Member Filik's Avatar
    Join Date
    Aug 2005
    Posts
    208

    Re: activeX licence problem

    Well my app is gonna be used on lots of machines, so reinstalling vb 6.0 deffinetly wasnt the solution, but i think i found a better one (considering that my app is a client/server file transferrer), i binded the client and server together in 1 form, and since generaly the client uses the dll's(the client works fine for some reason), and the server just acsesses them in the procces, and it works! server starts on remote machine and connects sucsesfully!

  7. #7
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: activeX licence problem

    jonni,

    Use Depends.exe to find the dependencies that you need for the grid. Add them to your installation and you should be fine. If you do not have the program look here

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