hey all, I am having an odd problem with the InputBox in VB.NET, and it ONLY
happens on one of my computers. When I try "Dim x as String =
InputBox("TESTP ROMPT"), I get the following error:
----------------------------------------------------------------------------
----
[Exception Details]
----------------------------------------------------------------------------
----
System.Componen tModel.Win32Exc eption: Class already exists
at Microsoft.Visua lBasic.Compiler Services.LateBi nding.LateGet(O bject o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack)
at NexGen.Environm ent.RaiseSpecia lEvent(String& strAction, Object&
objSender) in Z:\Source Code\Presentati on
Tier\VB.NET\Nex Gen.Environment \Environment.vb :line 73
at AMC.frmMain.frm Main_Load(Objec t sender, EventArgs e) in Z:\Source
Code\Presentati on Tier\VB.NET\Nex Gen.AMC\frmMain .vb:line 2517
at System.Windows. Forms.Form.OnLo ad(EventArgs e)
at System.Windows. Forms.Form.OnCr eateControl()
at System.Windows. Forms.Control.C reateControl(Bo olean fIgnoreVisible)
at System.Windows. Forms.Control.C reateControl()
at System.Windows. Forms.Control.W mShowWindow(Mes sage& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.Scrollabl eControl.WndPro c(Message& m)
at System.Windows. Forms.Container Control.WndProc (Message& m)
at System.Windows. Forms.Form.WmSh owWindow(Messag e& m)
at System.Windows. Forms.Form.WndP roc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
any ideas?
TIA
Nick Jacobsen
njacobsen@pfast ship.com
happens on one of my computers. When I try "Dim x as String =
InputBox("TESTP ROMPT"), I get the following error:
----------------------------------------------------------------------------
----
[Exception Details]
----------------------------------------------------------------------------
----
System.Componen tModel.Win32Exc eption: Class already exists
at Microsoft.Visua lBasic.Compiler Services.LateBi nding.LateGet(O bject o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack)
at NexGen.Environm ent.RaiseSpecia lEvent(String& strAction, Object&
objSender) in Z:\Source Code\Presentati on
Tier\VB.NET\Nex Gen.Environment \Environment.vb :line 73
at AMC.frmMain.frm Main_Load(Objec t sender, EventArgs e) in Z:\Source
Code\Presentati on Tier\VB.NET\Nex Gen.AMC\frmMain .vb:line 2517
at System.Windows. Forms.Form.OnLo ad(EventArgs e)
at System.Windows. Forms.Form.OnCr eateControl()
at System.Windows. Forms.Control.C reateControl(Bo olean fIgnoreVisible)
at System.Windows. Forms.Control.C reateControl()
at System.Windows. Forms.Control.W mShowWindow(Mes sage& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.Scrollabl eControl.WndPro c(Message& m)
at System.Windows. Forms.Container Control.WndProc (Message& m)
at System.Windows. Forms.Form.WmSh owWindow(Messag e& m)
at System.Windows. Forms.Form.WndP roc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
any ideas?
TIA
Nick Jacobsen
njacobsen@pfast ship.com
Comment