But what to try?
-
As found in some VB code:
Try
Catch ex As Exception
End TryI may be posting a lot of these things here, as I finally got hold of the VB code that was for the previous system, that we're re-writing in C#. It's bound to be full of gems like this. Marc
-
As found in some VB code:
Try
Catch ex As Exception
End TryI may be posting a lot of these things here, as I finally got hold of the VB code that was for the previous system, that we're re-writing in C#. It's bound to be full of gems like this. Marc
-
As found in some VB code:
Try
Catch ex As Exception
End TryI may be posting a lot of these things here, as I finally got hold of the VB code that was for the previous system, that we're re-writing in C#. It's bound to be full of gems like this. Marc
I have seen that kind of code fail. Don't ask how, as I don't know.
Getting information off the Internet is like taking a drink from a fire hydrant. - Mitchell Kapor
-
As found in some VB code:
Try
Catch ex As Exception
End TryI may be posting a lot of these things here, as I finally got hold of the VB code that was for the previous system, that we're re-writing in C#. It's bound to be full of gems like this. Marc
You mean there was no code at all between
Try
andCatch
, nor betweenCatch
andEnd Try
? At least, he ought to have added an emptyFinally
then. -
You mean there was no code at all between
Try
andCatch
, nor betweenCatch
andEnd Try
? At least, he ought to have added an emptyFinally
then.Bernhard Hiller wrote:
You mean there was no code at all between
Try
andCatch
, nor betweenCatch
andEnd Try
?That is correct. I did not remove any code. It was a completely empty try-catch block. Marc
-
Bernhard Hiller wrote:
You mean there was no code at all between
Try
andCatch
, nor betweenCatch
andEnd Try
?That is correct. I did not remove any code. It was a completely empty try-catch block. Marc
Marc Clifton wrote:
Try Catch ex As Exception End Try
Marc Clifton wrote:
I did not remove any code. It was a completely empty try-catch block.
Leaving the try...catch block empty was intentional. There exists a form with a textbox in which you can type code to be inserted in the try...catch block at runtime.
"Coming soon"
-
Marc Clifton wrote:
Try Catch ex As Exception End Try
Marc Clifton wrote:
I did not remove any code. It was a completely empty try-catch block.
Leaving the try...catch block empty was intentional. There exists a form with a textbox in which you can type code to be inserted in the try...catch block at runtime.
"Coming soon"
Then it's too bad the optimizer will remove it. :sigh:
This space intentionally left blank.