G
Guest
When I code the following
dim s as string = vbcr & vbc
Catch ex As Exceptio
MsgBox(ex.Message & s & ex.HelpLink & s & ex.StackTrace
The message prints out fine, except the HelpLink doesn't appear.
But when I include the following in the msgbox
MsgBox(ex.Message & s & ex.HelpLink & s & ex.StackTrace & s & ex.Source & s & ex.TargetSite
I get the message
Operator & is not defined for types 'string' and 'system.reflection.methodbase
Could somebody explain this to me.
Also, is there a property or method that would give me the 'name' of the exception
polynomial5d
dim s as string = vbcr & vbc
Catch ex As Exceptio
MsgBox(ex.Message & s & ex.HelpLink & s & ex.StackTrace
The message prints out fine, except the HelpLink doesn't appear.
But when I include the following in the msgbox
MsgBox(ex.Message & s & ex.HelpLink & s & ex.StackTrace & s & ex.Source & s & ex.TargetSite
I get the message
Operator & is not defined for types 'string' and 'system.reflection.methodbase
Could somebody explain this to me.
Also, is there a property or method that would give me the 'name' of the exception
polynomial5d