|
-
Aug 6th, 2015, 11:13 AM
#11
Thread Starter
Addicted Member
Re: Bound Combobox throws System.ArgumentOutOfRangeException
 Originally Posted by wes4dbt
I don't have an answer for you but I would suggest a couple of things. When you post your code, post the actual code and not just part of it. So if there is more code in your Form_Load event post all of it. Also, there is no need for the Me.Dispose, if you want to manually close the form then us Me.Close.
As I've repeatedly stated, there is no other code, the complete code is posted above in the formload event, the code is a single line auto-generated by Visual Studio when you bind the combobox. Both Me.Close and Me.Dispose yield the same result. Both errors are eliminated if I simply comment out the single line of code that fills the combobox.
I only added the Try Catch to try to get more info about the error, but it doesn't catch anything.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|