It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

[VB.NET] Getting an error I don't understand

Moderator: dafunkymunky

[VB.NET] Getting an error I don't understand

Postby milo896 on Wed Oct 15, 2008 4:59 pm

Ok, I'm pretty new to VB and still getting the hang of things. I started work on a new program yesterday. Today, I opened it up, condensed a few subroutines down into one, and now it doesn't work. When I start the debugger, it gives me the following error:

A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll

I assume this error has something to do with how I condensed several subroutines into one, but I don't know what. The debugger doesn't highlight any specific code for me to look at, so I can't even guess. Any help is appreciated.


--EDIT--


Nevermind. I found the problem. I had a variable defined with incorrect information.
milo896
 
Posts: 5
Joined: Thu Oct 02, 2008 11:15 pm

Postby mbshinde78 on Thu Oct 16, 2008 1:55 pm

Hi,

Can you post your "condensed" code here?

Lets check that out
mbshinde78
 
Posts: 16
Joined: Tue Sep 09, 2008 1:07 pm


Who is online

Users browsing this forum: Google [Bot] and 5 guests