vb6 migration - Class not registered error VB.NET 2008 -
hello, have converted vb 6 project vb.net 2008 1 of forms throws following error in design mode. class not registered (exception hresult: 0x80040154 (regdb_e_classnotreg)) here call stack:
at system.windows.forms.unsafenativemethods.cocreateinstance(guid& clsid, object punkouter, int32 context, guid& iid) @ system.windows.forms.axhost.createwithoutlicense(guid clsid) @ system.windows.forms.axhost.createinstancecore(guid clsid) @ system.windows.forms.axhost.createinstance() @ system.windows.forms.axhost.getocxcreate() @ system.windows.forms.axhost.set_site(isite value) @ system.componentmodel.container.add(icomponent component, string name) @ system.componentmodel.design.designerhost.add(icomponent component, string name) @ system.componentmodel.design.designerhost.system.componentmodel.design.idesignerhost.createcomponent(type componenttype, string name) @ system.componentmodel.design.serialization.designerserializationmanager.createinstance(type type, icollection arguments, string name, boolean addtocontainer) @ system.componentmodel.design.serialization.designerserializationmanager.system.componentmodel.design.serialization.idesignerserializationmanager.createinstance(type type, icollection arguments, string name, boolean addtocontainer) @ system.componentmodel.design.serialization.codedomserializerbase.deserializeinstance(idesignerserializationmanager manager, type type, object[] parameters, string name, boolean addtocontainer) @ system.componentmodel.design.serialization.componentcodedomserializer.deserializeinstance(idesignerserializationmanager manager, type type, object[] parameters, string name, boolean addtocontainer) @ system.componentmodel.design.serialization.codedomserializerbase.deserializeexpression(idesignerserializationmanager manager, string name, codeexpression expression) @ system.componentmodel.design.serialization.codedomserializer.deserializestatementtoinstance(idesignerserializationmanager manager, codestatement statement) @ system.componentmodel.design.serialization.codedomserializer.deserialize(idesignerserializationmanager manager, object codeobject) @ system.windows.forms.design.controlcodedomserializer.deserialize(idesignerserializationmanager manager, object codeobject) @ system.componentmodel.design.serialization.typecodedomserializer.deserializename(idesignerserializationmanager manager, string name, codestatementcollection statements)
i copied dlls in project system 32 , registered using regasm.exe using visual studio command line tool make sure dlls have been registered. problem still persists.is there else can try make work? please advice.
i not sure solution in project properties added reference path.so application knows assemblies , worked!
Comments
Post a Comment