E
Ed Crowley
BUG: Unhandled exception in system.windows.forms.dll
I have the following code:
Dim BuilderForm As Builder
BuilderForm = New Builder(_LastChangedFile.Path)
BuilderForm.Refresh()
BuilderForm.ShowDialog()
And get the following exception on the last line (.ShowDialog):
An unhandled exception of type 'System.InvalidOperationException' occurred
in system.windows.forms.dll
Additional information: DragDrop registration failed.
Any ideas? I have the <STAThread()> attribute on my Public Sub Main already
and have tried stepping through the Windows Form autogen code, but the error
occurs on the .ShowDialog() line.
I've tried compiling using .NET 2002 and .NET 2003 and get the same error.
I wasn't getting this error when running on XP or Server 2003 if that's any
help!
I have the following code:
Dim BuilderForm As Builder
BuilderForm = New Builder(_LastChangedFile.Path)
BuilderForm.Refresh()
BuilderForm.ShowDialog()
And get the following exception on the last line (.ShowDialog):
An unhandled exception of type 'System.InvalidOperationException' occurred
in system.windows.forms.dll
Additional information: DragDrop registration failed.
Any ideas? I have the <STAThread()> attribute on my Public Sub Main already
and have tried stepping through the Windows Form autogen code, but the error
occurs on the .ShowDialog() line.
I've tried compiling using .NET 2002 and .NET 2003 and get the same error.
I wasn't getting this error when running on XP or Server 2003 if that's any
help!