שתף באמצעות


not a loaded control class

Question

Friday, April 11, 2008 9:09 AM

 

Hi!
I am trying to open a previously created VB Project on my machine. When I open the VB Project file, I get the error-

Line 15: Class abcVBListViewCtrlCtl.abcVBListView of control abcVBListView1 was not a loaded control class.

what could be the probable problem. I am pretty new to this technology.

Any help would be appreciated.

Thanks..

All replies (2)

Wednesday, April 16, 2008 6:40 AM ✅Answered

 RichaS wrote:

I am trying to open a previously created VB Project on my machine. When I open the VB Project file, I get the error-

Line 15: Class abcVBListViewCtrlCtl.abcVBListView of control abcVBListView1 was not a loaded control class.

what could be the probable problem.

 

Hi Richa,

 

Welcome to MSDN forums!

 

You need to re-compile the abcVBListView1 control and add the compiled control to your project.

 

Please check these similar issues for reference:

http://www.codeguru.com/forum/archive/index.php/t-24283.html

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=780291&SiteID=1

 

 

Some tutorial about Upgrading VB6 Project:

1. KB http://support.microsoft.com/kb/309617/en-us

How to upgrade a Visual Basic 6.0 project group to Visual Basic .NET or Visual Basic 2005

2. http://www.tangiblesoftwaresolutions.com/Other%20Conversions.htm

    Converting VB6 to VB.NET

  1) Use the Visual Studio VB Upgrade Wizard to obtain VB.NET code. 

  2) Make the necessary manual adjustments until the VB.NET code is compliable.

3. http://support.microsoft.com/kb/318597/en-us

When you upgrade a Visual Basic 6.0 project to Visual Basic .NET, you receive Upgrade Wizard error message about Visual Basic 6.0 ActiveX controls license.

 

 

Regards,

Martin


Wednesday, October 27, 2010 8:51 PM

I had a similar problem with one of my controls. the control that was modifying was being used in a different property page. once i compile my control, the property page would not compile. so the solution i found was to unregister the control using regsvr32 <control.ocx>. after this i opened the ocx/ref-ocx using oleview. i have extracted interface iid, dispinterface iid, coclass iid, typelib iid and looked them up under respective branches in registry. deleted all of them and built my control again. then i was able to use the control in property page. posting my solution as i thought it would be helpful to other who might run into it. Thank youNaive .Net user