Click here to Skip to main content
14,297,708 members
Rate this:
Please Sign up or sign in to vote.
See more:
Specified argument was out of the range of valid values. Parameter name: '0' is not a valid value for 'displayIndex'.
Abhineet Ayan Verma 21-Feb-12 4:12am
Post a snippet of your code to make it more clear.
Varun Sareen 21-Feb-12 4:15am
Please be a little descriptive in asking questions :)

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Put a break point at the place of sending arguments and verify the value being sent and the range of displayIndex available, using watch window. This way it is easy to fix such type of errors.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100