There was something that i was wanting to ask for some time now, and that would be when the try catch has an exception, in this situation when i try to connect to the server to run an SQL command, when i put my username and password as nothing to see whats going to happen, it does show in VS that indeed there is a exception, and therefore i am using throw new exception("test") for example. However every time that i do that in the catch, most of the time the app crashes and i have to restart it and it leaves an error of System.UnhandledException. I have went into the Internet to possible find a solution but i am yet to find anything. To conclude how the app works, you input your details, for example Username admin Password admin, it then checks if the user is in the system, then it checks for their rights and if there is anything wrong it should display the exception. (The way that i connect to the server is vie a different CS file) IF anybody knows how i can handle that, it would be great.