Argument Exception UnHandled.

  • Thread starter Thread starter Laurence
  • Start date Start date
L

Laurence

I am in Win XP Prog,
Using VB.2005, programming in VB.NET

I am getting:

Argument exception was unhandled.
Argument 'Length' must be greater or equal to zero.

The code:

Dim AboutBox As New UnexAbout.AboutBox
AboutBox.ShowAbout(Me)

It doesn't like the (Me).

This runs fine from other programs, just in this one program do I get
this error.

Thanks in Advance,

Laurence
 
Laurence,

Without knowing what is in AboutBox class and ShowAbout method I don't think
anyone can help.

Run the code in the debugger. Set up the debugger to stop on the exceptions
at the moment they are thrown and look at the state of your application and
the moment of generating the exception.
 
Back
Top