View Single Post
Old Jul 13th, 2005, 5:24 PM   #1
Intimidat0r
Hobbyist Programmer
 
Intimidat0r's Avatar
 
Join Date: May 2005
Location: Don't know, but the padded walls are a nice touch.
Posts: 126
Rep Power: 0 Intimidat0r is an unknown quantity at this point
Send a message via ICQ to Intimidat0r Send a message via AIM to Intimidat0r Send a message via MSN to Intimidat0r Send a message via Yahoo to Intimidat0r
regarding the ubound function

Okay so Im trying to do this:

Public C As Integer
Public Functions As String

For C = 0 To Ubound(Functions)
     'Do code and stuff
Next

and it compiles nicely but when i run it it flags the line that calls Ubound() (the definition of the For loop or whatever it's called) and it says:

Quote:
System.ArgumentNullException
Value cannot be null
I kind of know what this means but I just started using VB.NET because Im used to C and PHP mostly (OSS LAMP stuff) so can somebody tell me how i can fix this problem? thanks.
__________________
Children in the dark cause accidents, and accidents in the dark cause children.

http://www.ronincoders.org
Intimidat0r is offline   Reply With Quote