|
-
Jan 4th, 2011, 04:03 PM
#1
Thread Starter
New Member
[RESOLVED] Handling ADO errors in VB6
I have error handling in my routine where it displays the error in a listview. This works fine with standard VB errors. However, I ran into a situation where I was doing an update to a sql table and the one field was a datetime but the value it was trying to write was not a valid datetime. Even though I have error handling, VB still pops up an error message that says "Error 6 - Overflow". How can I stop VB from popping up this message? Is there something I need to add to my error handling that can prevent this?
If I step through the problem, the execution jumps to my error handling routine, pops up this overflow message, then after you close it, continues to execute the code in my error handler.
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
|