|
-
May 31st, 2016, 01:16 PM
#1
Thread Starter
Member
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
-
May 31st, 2016, 02:03 PM
#2
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.
-
May 31st, 2016, 02:13 PM
#3
Thread Starter
Member
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
-
May 31st, 2016, 02:19 PM
#4
Thread Starter
Member
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.
-
May 31st, 2016, 02:42 PM
#5
Thread Starter
Member
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?
-
May 31st, 2016, 03:04 PM
#6
Re: Failed install of Visual Studio 6.0 on Win7 32 bit
 Originally Posted by roxydogg
... 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.
-
May 31st, 2016, 03:06 PM
#7
Thread Starter
Member
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.
-
May 31st, 2016, 03:11 PM
#8
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.
-
May 31st, 2016, 03:14 PM
#9
Thread Starter
Member
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.
-
May 31st, 2016, 03:24 PM
#10
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.
-
May 31st, 2016, 03:25 PM
#11
Thread Starter
Member
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
-
May 31st, 2016, 03:33 PM
#12
Hyperactive Member
Re: Failed install of Visual Studio 6.0 on Win7 32 bit
-
May 31st, 2016, 03:37 PM
#13
Thread Starter
Member
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?
-
May 31st, 2016, 03:54 PM
#14
Hyperactive Member
Re: Failed install of Visual Studio 6.0 on Win7 32 bit
 Originally Posted by roxydogg
regtlib msdatsrc.tlb solved my issue, Thank You. What exactly does that command do?
I have no idea
-
May 31st, 2016, 03:55 PM
#15
Thread Starter
Member
Re: Failed install of Visual Studio 6.0 on Win7 32 bit
-
May 31st, 2016, 05:29 PM
#16
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.
-
Jul 6th, 2016, 11:35 AM
#17
Junior Member
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.
-
Jul 6th, 2016, 02:21 PM
#18
Re: Failed install of Visual Studio 6.0 on Win7 32 bit
 Originally Posted by Plogsties
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|