I've recently installed windows 10 from windows 7. I have now run in to an issue where microsoft Common Controlls mscomctl is not founnd
I have registered the "MSCOMCTL.OCX" file with sysWow64/Regsvr32.exe
But when I reload the project it still cant find the reference.
I've also registered the .ocx with System32. Is this a windows 10 issue or am I missing something?
These are objects that you can drag to the Form using the Control toolbox in the IDE. Each VB.NET Control has some properties, events, and methods that can be used to tweak and customize the form to our liking. Properties describe the object. Methods are used to make the object do something.
Like other control windows, a common control is a child window that an application uses in conjunction with another window to enable interaction with the user.
Windows 7 SP1, 8.1, 10 & 11The VB6 runtime will ship and will be supported in Windows 10 and Windows 11 for the lifetime of the OS. Visual Basic 6.0 runtime files continue to be 32-bit only, and all components must be hosted in 32-bit application processes.
The most probable reason for this error is that your project is looking for a newer version of MSCOMCTL.OCX than is installed by Visual Basic 6 (with Visual Studio 6 Service Pack 6).
You can verify the version of the typelib required by your project by opening the .vbp project file in a text editor. Look for a line like this one:
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.2#0; MSCOMCTL.OCX
The 2.2
in the middle refers to the typelib version required. If you re-add the component reference and then save the project, you can go back to the .VBP file and see what typelib version is currently installed on your machine. (This will likely be version 2.0).
To get the latest typelib version (2.2):
This will give you version 6.1.98.46 of MSCOMCTL.OCX.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With