Results 1 to 1 of 1

Thread: VB6 Installation Issue

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2007
    Posts
    21

    VB6 Installation Issue

    Hello,

    I have a rather unusuall problem. I have an application that is written in VB6 that I modified by adding an ActiveX control (cvsinsightdisplay.ocx, for Cognex cameras) and I have tried to install this application using both the PDW and the Visual Studio Installer. Regardless of the method, after installation when I try to run the application, it gives me a messagebox that says: "Run time error 339" "Component 'cvsinsightdisplay.ocx' or one of its dependencies not correctly registered: a file is missing or invalid"

    The target OS is Windows 2000, if I install this on a Windows XP computer, it works just fine, but I need it to work on Windows 2000.

    Now this is where it gets interesting, if I build a simple application that makes use of the same ActiveX control in VB.NET (2005) and install it on the same computer (or any computer with Win2K), it works!

    Because the program that is written in VB6 is quite large, I would prefer to not convert the whole thing to VB.NET at this point. Does anyone have any suggestions as to what could be different between the way VB.NET installs a program and VB6. The ActiveX control doesnt list Windows 2000 as a supported OS, but apparently it works when VB.NET installs the application, so I have to imagine that there should be a work-around to the problem I am experiencing, unless it is simply a limitation of VB6 (the ActiveX control does list support for both VB.NET and VB6, however)

    Any insights into would could be the problem would be appreciated, I have tried going through all of the dependency files that VB.NET lists and then adding them to the Visual Studio Installer for VB6 but that didnt help. I have tried manually registering the cvsinsightdisplay.ocx and other listed dependencies but that didnt help either. One thing to note, I am not sure if I did it properly in the Visual Studio Installer because the extra dll files I added dont show up under the dependencies list
    Last edited by Blackhawk; Jul 9th, 2008 at 03:52 PM.

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