Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Specified argument was out of the range of valid values. Parameter name: '0' is not a valid value for 'displayIndex'.
Posted
Comments
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

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.
 
Share this answer
 

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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900