A Try/Catch block is a code block that is used to handle runtime errors. Code that is expected to raise an exception is written inside the Try statement. The Catch statement catches the exception raised during a program execution and throws the specific exception. For example,
System.EventArgs) Handles MyButton1.Click
Try
Process.Start(”http://www.ucertify.com”)
Catch ex As Exception
MsgBox(”Sorry, cannot load the uCertify Home Web page”)
End Try
End Sub
- Pass MCP in first attampt.
- Get certified in first attempt download 70-300 - Microsoft .NET Analyzing Req. simulation.
- Become Microsoft Web Based Applications with VB.NET certified.
- Best exam simulation Microsoft 70-306 download free trial.
- Download free practice test for Microsoft Developing XML Web Services exam.
- Become Microsoft VB .NET Framework Application Development Foundation certified.
- Click here to get free 70-551-VB UPGRADE: MCAD Skills to MCPD Web Developer VB.NET exam practice questions.
- Download practice question and study guide for 70-552-VB for exam.
- Best exam simulation Microsoft 70-561-VB download free trial.
- Pass SCJP 5.0 Java Upgrade in first attampt.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
