打包安装在其它电脑上出错问题请教
当我将写的程序打包后,安装到其它电脑上打开程序时就会出现如下错误:
System.Runtime.InteropServices.COMException (0x80040154): 未登 (生例外於 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()
於 GPS_Pro.FrmMain.InitializeComponent()
於 GPS_Pro.FrmMain..ctor()
於 GPS_Pro.FrmFirst.FrmFirst_MouseDown(Object sender, MouseEventArgs e)
於 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
我用的是vb.net2008
[解决办法]
应该是窗体上的某个ActiveX控件没注册
[解决办法]
电脑是繁体字影响的.