Is it possible to convert VB.Net apps to VB.6. I'm about ready to ditch VS2005 if I can't get my apps to run on other machines. First it needed Office 03 installed and now I'm getting another error having to do with OLE DB.
Obviously something is not registered, but WHAT! This was the second one I got. The first one was a Windows Imaging DLL that was not sent along with the installation package. I copied it over and registered it. Now this.
The initial log-in screen loads but fails when I attempt to log-in to the DB and then load the main form. I thought it was MDAC but it appears to be installed (MS Component Checker Utility - Google cc_pkg.exe - appears to indicate that several versions of MDAC are installed)
Anybody, please help. Does anyone have these kinds of problems. I'm using VS2005/SP1. I've written 2 applications so far and I can't get either to install and run on any other PC except my development machine. The Deployment wizard seems to work without error and the set-up seems to work without error, but the damn things won't run without generating errors.... Oops, I mean without throwing exceptions.
Obviously something is not registered, but WHAT! This was the second one I got. The first one was a Windows Imaging DLL that was not sent along with the installation package. I copied it over and registered it. Now this.
The initial log-in screen loads but fails when I attempt to log-in to the DB and then load the main form. I thought it was MDAC but it appears to be installed (MS Component Checker Utility - Google cc_pkg.exe - appears to indicate that several versions of MDAC are installed)
Anybody, please help. Does anyone have these kinds of problems. I'm using VS2005/SP1. I've written 2 applications so far and I can't get either to install and run on any other PC except my development machine. The Deployment wizard seems to work without error and the set-up seems to work without error, but the damn things won't run without generating errors.... Oops, I mean without throwing exceptions.
VB.NET:
System.InvalidOperationException: An error occurred creating the
form. See Exception.InnerException for details. The error is: Class not
registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
---> System.Runtime.InteropServices.COMException (0x80040154): Class not
registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid&
clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
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 AuthView.frmMain.InitializeComponent()
at AuthView.frmMain..ctor()
--- End of inner exception stack trace ---
at AuthView.My.MyProject.MyForms.Create__Instance__[T](T Instance)
at AuthView.frmLogIn.cmdOK_Click(Object eventSender, EventArgs eventArgs)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.PerformClick()
at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)