N
news.microsoft.com
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("TESTPROMPT"), I get the following error:
----------------------------------------------------------------------------
----
[Exception Details]
----------------------------------------------------------------------------
----
System.ComponentModel.Win32Exception: Class already exists
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack)
at NexGen.Environment.RaiseSpecialEvent(String& strAction, Object&
objSender) in Z:\Source Code\Presentation
Tier\VB.NET\NexGen.Environment\Environment.vb:line 73
at AMC.frmMain.frmMain_Load(Object sender, EventArgs e) in Z:\Source
Code\Presentation Tier\VB.NET\NexGen.AMC\frmMain.vb:line 2517
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(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)
any ideas?
TIA
Nick Jacobsen
(e-mail address removed)
happens on one of my computers. When I try "Dim x as String =
InputBox("TESTPROMPT"), I get the following error:
----------------------------------------------------------------------------
----
[Exception Details]
----------------------------------------------------------------------------
----
System.ComponentModel.Win32Exception: Class already exists
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack)
at NexGen.Environment.RaiseSpecialEvent(String& strAction, Object&
objSender) in Z:\Source Code\Presentation
Tier\VB.NET\NexGen.Environment\Environment.vb:line 73
at AMC.frmMain.frmMain_Load(Object sender, EventArgs e) in Z:\Source
Code\Presentation Tier\VB.NET\NexGen.AMC\frmMain.vb:line 2517
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(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)
any ideas?
TIA
Nick Jacobsen
(e-mail address removed)