System.Runtime.InteropServices.COMException exception while running an application

0

I was running a vb.net application and I got an exception like below. I think some com library named AxMSForms.dll is missing. From where would i get that? Any idea?

EXCEPTION Type = System.Runtime.InteropServices.COMException Message = Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Source = System.Windows.Forms Stack Trace Follows ------------------- at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) at System.Windows.Forms.AxHost.CreateInstance() at System.Windows.Forms.AxHost.GetOcxCreate() at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state) at System.Windows.Forms.AxHost.CreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at MyApp.frmWireSpacingData.InitializeComponent() at MyApp.frmWireSpacingData..ctor(measurement theMeasurement, cableProduct theProduct, IGraphPaneManager theGraphPaneManager, String printerName, String theTitle) at MyApp.frmCableSpec.doMeasurement() at MyApp.frmCableSpec.cmdMeasure_Click(Object sender, EventArgs e)

vb.net
winforms
exception
dll
asked on Stack Overflow Aug 10, 2018 by Muhammed Thabjeel • edited Aug 10, 2018 by MickyD

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0