Argument Exception UnHandled.

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
 
S

Stoitcho Goutsev \(100\)

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.
 

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