Results 1 to 18 of 18

Thread: Failed install of Visual Studio 6.0 on Win7 32 bit

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Failed install of Visual Studio 6.0 on Win7 32 bit

    The up-down control in MSCOMCTL2 fails to register. As administrator I have manually done the regsvr32 MSCOMCT2.ocx thing and it says that the library registered successfully. but when I go to run a VB application in visual studio it throws an error saying "Object library not registered" Has anyone had this problem and fixed it????

    Thanks

  2. #2
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    So what makes you think the VS failed to install?

    More likely it is the project you are loading.

    Try creating a new project and see if you can add that control to it.

    If you can then save that new project and open the vbp file with notepad and look at the line for that reference.
    Open the other vbp you were trying to load and look at that same line in it.

    You will probably find that one of them has a 1 on the end and the other has a 2
    Change the non working one to match the working one, save and then try to load your project that did not work before.

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    A bad choice of words on my part. VS6 did load. I will not load the library with the up-down control in it. MSCOMCT2 will not load. I am trying the new project approach.

    Thanks

  4. #4

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    started new project
    under projects / components I browsed to MSCOMCT2 in \Windows\System32
    clicked on it to add it. Clicked Apply - got the "object library not registered" - error
    I believe this was in SP6 which I have installed.
    I've even tried the command window with elevated privileges using regsvr32 MSCOMCT2.ocx which ways it registered successfully.
    Computer shutdown and restart does not change anything.

  5. #5

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    I found this thread on VBForums


    I tried all the steps recommended which solved the original OP's problem but does not solve mine. I am logged in as administrator, is THAT a problem?

  6. #6
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    6,598

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    Quote Originally Posted by roxydogg View Post
    ... I browsed to MSCOMCT2 in \Windows\System32
    clicked on it to add it...
    You should be running regsvr32 from SysWOW64 (not System32), which should also be where MSCOMCT2 should reside.
    System32 is where the 64-bit objects go, and SysWOW64 is where the 32-bit objects go.
    This is because Microsoft made the mistake of naming the OS's System directory System32, so when the OS went to 64-bit the system directory's name couldn't be changed (so is still System32), and the 32-bit stuff had to go to a different name so, (32-bit SYStem Windows On Windows 64 = SysWOW64)
    Last edited by passel; May 31st, 2016 at 03:10 PM.

  7. #7

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    This Windows 7 installation does not have a SysWOW64 directory. Only a System32 directory.

  8. #8
    Sinecure devotee
    Join Date
    Aug 2013
    Location
    Southern Tier NY
    Posts
    6,598

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    My mistake, you did say Win7 - 32bits. Usually, I haven't heard of people having a problem as long as they installed as Admin.

  9. #9

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    Everything I've read suggests there shouldn't be a problem either. This .ocx contains a control widget that I need in my VB6 project. When I do the regsvr32 MSCOMCT2.ocx it tells me that it registered successfully. I cannot find it in the registry.

  10. #10
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,229

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    are you running regsvr32 from an elevated prompt?
    or did you try unregistering it first
    *grasping at straws here*
    Last edited by DEXWERX; May 31st, 2016 at 03:28 PM.

  11. #11

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    Yes, not only running as Administrator but I am also logged on as Administrator

  12. #12
    Hyperactive Member
    Join Date
    Jul 2013
    Posts
    402

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    Try
    regtlib msdatsrc.tlb
    Carlos

  13. #13

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    regtlib msdatsrc.tlb solved my issue, Thank You. What exactly does that command do?

  14. #14
    Hyperactive Member
    Join Date
    Jul 2013
    Posts
    402

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    Quote Originally Posted by roxydogg View Post
    regtlib msdatsrc.tlb solved my issue, Thank You. What exactly does that command do?
    I have no idea
    Carlos

  15. #15

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    42

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    Carlos, Thank You

  16. #16
    Fanatic Member DrUnicode's Avatar
    Join Date
    Mar 2008
    Location
    Natal, Brazil
    Posts
    631

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    When MS added IE10 to automatic Win7 updates they erred by unregistering msdatsrc.tlb
    regtlib msdatsrc.tlb fixes this.
    Win 8 or later does not have this issue.

    Under the hood, ActiveX controls that use data binding requires that msdatsrc.tlb be properly registered.

  17. #17
    Junior Member
    Join Date
    May 2016
    Location
    Henryville PA
    Posts
    22

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    This does not seem to work on the 64 bit version of Win7. Response is not recognized as a command.

  18. #18
    Frenzied Member
    Join Date
    Dec 2014
    Location
    VB6 dinosaur land
    Posts
    1,190

    Re: Failed install of Visual Studio 6.0 on Win7 32 bit

    Quote Originally Posted by Plogsties View Post
    This does not seem to work on the 64 bit version of Win7. Response is not recognized as a command.
    What THIS are you referring to? Running these commands from an elevated command prompt in C:\Windows\SysWOW64?

    regsvr32 MSCOMCTL.OCX
    regtlib msdatsrc.tlb

Tags for this Thread

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