Error Message -- Help

  • Thread starter Thread starter Mathew
  • Start date Start date
M

Mathew

I built and ran my program. I got a Microsoft Development
Environment message saying "An unhandled exception of
type 'System.ArgumentException' occured in mscorlib.dll
Additional information:Invalid URL." Plus it is
highlighting 'MyBase.NEW()' in the Public Sub New()
subroutine in the Declarations. What do I do to fix this
problem? Would someone please help me.

I went thru ADO.NET to my ACCESS database to get my
records and I have an DataFrom1.vb form out there that
does no come up now because of this message.

Mathew
 
Hello Miha

I have two forms with my project. My DataFrom1.vb and
the basic Form1.vb that gets created right away.

This subroutine is comming out of the Form1.vb (which
I am not using)
Public Sub New()
Mybase.New() (This line is highlighted in green)

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the
InitializeComponent() call'

End Sub

Thank you for your help

Mathew
 
When I created my project I created an WindowsApplication
and then went through Data Form Wizzard and access my MS
ACCESS Database through ADO.NET

Also note that my Form1.vb will display on the screen but
my DataForm1.vb will not.
 
Back
Top