Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2006

Tip: Looking for answers? Try searching our database.

Argument Exception UnHandled.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Laurence - 25 Aug 2006 21:46 GMT
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
Stoitcho Goutsev (100) - 25 Aug 2006 22:22 GMT
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.

Signature

Stoitcho Goutsev (100)

>I am in Win XP Prog,
> Using VB.2005, programming in VB.NET
[quoted text clipped - 17 lines]
>
> Laurence

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.