Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Try Catch Question

$
0
0
Good day

how can i put the try catch statement in a single variable?

 Try
            msg = Encoding.ASCII.GetBytes("Mlock")
            handler.Send(msg)
        Catch ex As Exception
            MessageBox.Show(ex.Message)
        End Try




thanks.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>