PLS ... THIS IS URGENT!

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top