Throw an exception

GrexD

Well-known member
Joined
Mar 5, 2008
Messages
95
Programming Experience
Beginner
We have a situation that I think is hardware related. I have about 15 users using a vb.net 05 app connecting to an Access 03 db file. Only 8 to 10 of them are connect at any given time. Nobody is writing data to the file, they are all just querying and viewing.

Every once in a while through out the day we get a rash of “Disk or Network Error” errors. This is the error text that is displayed when I issue MsgBox(ex.Message). Most of the users experience them 2 to 5 times a day. Unfortunately, this error is never thrown on my development PC, no matter how long I run the app.

While we try and figure out what is causing the error I need to be able to deal with it better than just throwing up a message box and bailing out of the prodecudre. Is there a way to throw this error….er. I mean Exception so I can program for it. I didn’t find it in the list of exceptions (Ctrl+Alt+E). There is an Add button, but I’ve never used it before.

Any help is appreciated.

Greg
 
Back
Top