Home All Groups Group Topic Archive Search About
Author
1 Dec 2006 12:05 PM
Jorge
Iam a newbie.  What does this error message mean?

A first chance exception of type 'System.ArgumentException' occurred
in Microsoft.VisualBasic.dll

Author
1 Dec 2006 12:22 PM
Herfried K. Wagner [MVP]
<Jo***@aol.com> schrieb:
> Iam a newbie.  What does this error message mean?
>
> A first chance exception of type 'System.ArgumentException' occurred
> in Microsoft.VisualBasic.dll

Where does the exception occur?  The exception is typically thrown when you
are passing an invalid value to a method/"function".

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
1 Dec 2006 1:38 PM
Phill W.
Jo***@aol.com wrote:

> A first chance exception of type 'System.ArgumentException' occurred
> in Microsoft.VisualBasic.dll

Does the program continue to run, or does it jump into one of your
Exception handlers?  If it's the former, then the IDE is probably
watching for *any* exception, handled or not, and telling you about it.
  So long as the program continues normally, you probably shouldn't
worry about it.

If it's the latter, examine the StackTrace in the Exception object,
looking for the last line of your code that executed before it rambled
off into the Visual Basic dll.  That will be the line of code that's
causing the problem.

HTH,
    Phill  W.
Author
1 Dec 2006 7:53 PM
Rad [Visual C# MVP]
Hey Jorge,

It would help if you posted the offending code...

On Fri, 01 Dec 2006 07:05:16 -0500, Jo***@aol.com wrote:

>Iam a newbie.  What does this error message mean?
>
>A first chance exception of type 'System.ArgumentException' occurred
>in Microsoft.VisualBasic.dll
--

Bits.Bytes.
http://bytes.thinkersroom.com