Unknown error message: '0' is not a valid value for 'index'.System.Windows.Forms

B

Bill Nguyen

I tried to debug this error message but can't locate it anywhere in my VB
forms.

Specified argument was out of the range of valid values.
'0' is not a valid value for 'index'.System.Windows.Forms

Any help is greatly appreciated!

Bill
 
C

Chris

Bill said:
I tried to debug this error message but can't locate it anywhere in my VB
forms.

Specified argument was out of the range of valid values.
'0' is not a valid value for 'index'.System.Windows.Forms

Any help is greatly appreciated!

Bill

Can you please show some code. The error does not make sense. It
sounds like you are trying to iterate through a forms collection like
you could in VB6 but you can not do it like this in VB.NET

Chris
 

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