Hi Team, I am getting build errors when loading VB.Net project in VB6, Build errors like below
- Class MSComctlLib.StatusBar of control StatusBar1 was not a loaded control class &
- Class MSACAL.Calendar of control Calendar1 was not a loaded control class.
If anyone faced similar kind of issues, please revert back to this post.
Thanks & Regards
Khaja Moizuddin

Sachin SinghPosted Jul 29, 2021, 3:24 PM
?This is a StackOverflow answer that may help
Open Registry Editor using run command regedit.
Locate HKEY_CLASSES_ROOT\TypeLib Key and then did a search for "MSCOMCTL.OCX" and deleted EVERY key that referenced this .ocx file.
Open command prompt (cmd) in Administrator mode. The type the following code,
In 32 bit machine,
cd c:\Windows\System32 regsvr32 MSCOMCTL.OCX regtlib msdatsrc.tlb regsvr32 MSCOMCT2.OCX
In 64 bit machine,
cd c:\Windows\SysWOW64 regsvr32 MSCOMCTL.OCX regtlib msdatsrc.tlb regsvr32 MSCOMCT2.OCX
visit :- https://stackoverflow.com/questions/20727568/visual-studio-6-windows-common-controls-6-0-sp6-windows-7-64-bit?