Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've made a program, which use Inet and WebBrowser control. On my machine everything works just fine, but when somebody else installs this program on his machine, the following error occurs:

System.Runtime.InteropServices.COMException (0x80040154): Class is not registred
  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 xmaax.Form1.InitializeComponent() in d:\Moje dokumenty\PIOTREK\Visual
Studio Projects\xmaax\Form1.vb:line 968
  at xmaax.Form1..ctor() in d:\Moje dokumenty\PIOTREK\Visual Studio
Projects\xmaax\Form1.vb:line 99
  at xmaax.Form2.mnuInstaluj_Click(Object sender, EventArgs e) in d:\Moje
dokumenty\PIOTREK\Visual Studio Projects\xmaax\Form2.vb:line 296
  at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
  at System.Windows.Forms.MenuItem.PerformClick()
  at xmaax.Form2.wykryjStanXmaax() in d:\Moje dokumenty\PIOTREK\Visual
Studio Projects\xmaax\Form2.vb:line 241
  at xmaax.Form2.Form2_Activated(Object sender, EventArgs e) in d:\Moje
dokumenty\PIOTREK\Visual Studio Projects\xmaax\Form2.vb:line 313
  at System.Windows.Forms.Form.OnActivated(EventArgs e)
  at System.Windows.Forms.Form.set_Active(Boolean value)
  at System.Windows.Forms.Form.WmActivate(Message& m)
  at System.Windows.Forms.Form.WndProc(Message& m)
  at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

I'm useing ghostInstaller, which copies all needed files to program files folder so there are files like listed below:

* AxInterop.InetCtlsObjects.dll

* AxInterop.SHDocVw.dll

* dotnetfx.exe

* dotnetwidgets.dll

* INSTALL.LOG

* Interop.InetCtlsObjects.dll

* Interop.SHDocVw.dll

* Uninstall.exe

* prog.exe

* prog.pdb

 

please, tell me, what shell I do with it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...