Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, February 8, 2017 1:42 AM
Until now, I developed in VB6 on a Windows XP machine. Recently, I created a Virtual Machine with Windows XP OS, within my Windows 10 machine, so that I can continue developing in VB6. However, ever since I've done that, I am having trouble with one "Component", "Microsoft Windows Common Controls 6.0 SP6". and the file name is "mscomctl.ocx", which generates an error message whenever I try to "Apply" it
It is a very important component which controls all the text boxes and dropdowns in my forms. Being that it gives me an error message "Object Library not registered" I cannot open any forms.
Please advise.
All replies (3)
Wednesday, February 8, 2017 4:44 PM
the file is registed
Regsvr32 c:\windows\system32\mscomctl.ocx
regtlib c:\windows\system32\mscomctl.ocx
it still gives me an error message "Object Library not registered"
Thursday, February 9, 2017 3:14 AM
Hi Moshe Singer,
This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
And your issue is more related to VB6. This link about vb6, please refer that:
http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
Thank you for participating in the forum activities.
Sincerely,
Oscar
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Thursday, February 9, 2017 4:52 AM
There is no need to install the VB6 IDE under an XP Virtual Machine. In fact it is better not to. The VB6 IDE can be installed on Windows 10.
Here is a utility to install VB6 on Windows 7/8/10 VB6 installer
or you can install VB6 manually as outlined here VB6 installation instructions
---
The ocx control should be in your Syswow64 folder (assuming you have a 64 bit PC), and registered manually.
Microsoft VB6 programming support (VB6 Support Statement, VB6 Programming IDE Installer)