vb.net - Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) for AxAcroPDF1 control -
i want use axacropdf1 control view pdf files in vb.net application. added libraries acropdflib , axacropdflib project , dragged control on form.
axacropdf1.src="myfile.pdf".
project set build on x86 environment , option register com interop checked. have 64 bit machine. have googled issue did not find solution worked me. thanks, pointers on appreciated.
class not registered (exception hresult: 0x80040154 (regdb_e_classnotreg)) @ system.windows.forms.unsafenativemethods.cocreateinstance(guid& clsid, object punkouter, int32 context, guid& iid) @ system.windows.forms.axhost.createwithoutlicense(guid clsid) @ system.windows.forms.axhost.createwithlicense(string license, guid clsid) @ system.windows.forms.axhost.createinstancecore(guid clsid) @ system.windows.forms.axhost.createinstance() @ system.windows.forms.axhost.getocxcreate() @ system.windows.forms.axhost.transitionupto(int32 state) @ system.windows.forms.axhost.createhandle() @ system.windows.forms.control.createcontrol(boolean fignorevisible) @ system.windows.forms.control.createcontrol(boolean fignorevisible) @ system.windows.forms.axhost.endinit() @ panel.initializecomponent() in panel.designer.vb:line 115 @ panel...............................
Comments
Post a Comment