Kurt
Regular
Little problem... when reaching a runtime error, the program doesn't seem to break giving me a warning that something is wrong and leaving me the choice to break the program or to continue it, but just leaves the sub/function where the exception is thrown.
eg. Suppose the following line is reached and the value of me.txtTextbox.text = "a"
The running program doesn't inform me about this problem!!! The routine containing that line is just left....
If I put however
the messagebox is displayed.
I know for sure that some time ago, without having the try-block, I would have had a message box coming up asking me to continue or to break the program. When I selected break, I would be shown the line with the problem. Is there a general setting in the IDE that influences this? I use Visual Studio .NET...
eg. Suppose the following line is reached and the value of me.txtTextbox.text = "a"
Visual Basic:
myInt = convert.ToInt32(me.txtTextbox.text)
The running program doesn't inform me about this problem!!! The routine containing that line is just left....
If I put however
Visual Basic:
try
myInt = convert.ToInt32(me.txtTextbox.text)
catch e as exception
msgbox("something wrong.")
end try
the messagebox is displayed.
I know for sure that some time ago, without having the try-block, I would have had a message box coming up asking me to continue or to break the program. When I selected break, I would be shown the line with the problem. Is there a general setting in the IDE that influences this? I use Visual Studio .NET...