deploying ActiveX

Salat

Regular
Joined
Mar 5, 2002
Messages
81
Location
Poland, Silesia
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:
Code:
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.
 
I think, I don't need to register the AxInterop.* files but only the MSINET.OCX and shdocvw.dll

I hope it will work.

Anyway, when I register those AxInterop.* there was an error.

What You think?
 
Back
Top