Click here to Skip to main content
15,887,323 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
I am trying to open a visual basic project, where on selecting the project file I am getting an error message saying :

'C:\Evis_CurrentVersion_new\adm_tn.ocx' could not be loaded -- Continue loading project?

C:\Evis_CurrentVersion_new is the name of the folder.

On viewing the log file I found the below error :

Line 31: Class MSComctlLib.ImageList of control ilsPictureManager was not a loaded control class.

Can anyone please help me, how to resolve this error?


What I have tried:

Registered the MSCOMCTL.OCX, but still the issue persists.
Posted
Updated 5-Sep-16 23:05pm
Comments
PeejayAdams 6-Sep-16 5:02am    
http://stackoverflow.com/questions/13948897/not-able-to-open-vb-project-getting-error-c-windows-system32-mscomctl-ocx-co
Swarnava Banerjee 6-Sep-16 5:36am    
Hi, thanks for your reply :)
I have tried to open the project file in notepad, as suggested in the link. But

Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\Windows\SysWOW64\stdole2.tlb#OLE Automation
Reference=*\G{00025E01-0000-0000-C000-000000000046}#4.0#0#C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\DAO350.DLL#Microsoft DAO 3.51 Object Library
Reference=*\G{642AC760-AAB4-11D0-8494-00A0C90DC8A9}#1.0#0#C:\Windows\SysWow64\MSDBRPTR.DLL#Microsoft Data Report Designer v6.0
Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#c:\Windows\SysWOW64\msstdfmt.dll#Microsoft Data Formatting Object Library
Reference=*\G{EF53050B-882E-4776-B643-EDA472E8E3F2}#2.7#0#C:\Program Files (x86)\Common Files\System\ado\msado27.tlb#Microsoft ActiveX Data Objects 2.7 Library
Object={BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0; TABCTL32.OCX
Object={BCD99569-049A-11D4-9292-0000F6CD2276}#7.0#0; adm_tn.ocx
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; COMDLG32.OCX
these are lines which are coming.

No reference for
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX

Kindly advice how to proceed on this.
Swarnava Banerjee 6-Sep-16 5:29am    
Hi, thanks for your reply :)
I have tried to open the project file in notepad, as suggested in the link. But

Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\Windows\SysWOW64\stdole2.tlb#OLE Automation
Reference=*\G{00025E01-0000-0000-C000-000000000046}#4.0#0#C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\DAO350.DLL#Microsoft DAO 3.51 Object Library
Reference=*\G{642AC760-AAB4-11D0-8494-00A0C90DC8A9}#1.0#0#C:\Windows\SysWow64\MSDBRPTR.DLL#Microsoft Data Report Designer v6.0
Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#c:\Windows\SysWOW64\msstdfmt.dll#Microsoft Data Formatting Object Library
Reference=*\G{EF53050B-882E-4776-B643-EDA472E8E3F2}#2.7#0#C:\Program Files (x86)\Common Files\System\ado\msado27.tlb#Microsoft ActiveX Data Objects 2.7 Library
Object={BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0; TABCTL32.OCX
Object={BCD99569-049A-11D4-9292-0000F6CD2276}#7.0#0; adm_tn.ocx
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; COMDLG32.OCX
these are lines which are coming.

No reference for
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX

Kindly advice?

1 solution

Check you are using the right version of Visual Studio to open the project: VB6 support died with VS2005, and was replaced with VB for .NET - which is not the same thing. If you want to open your VB6 project as a VB6 project, you need to use VS2005 or earlier.
 
Share this answer
 
Comments
Swarnava Banerjee 6-Sep-16 5:21am    
Hi, Thanks for your reply :)

I am trying to open Visual Basic project, with Microsoft Visual Basic 6.0. While opening, I am facing the above mentioned error

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900