End Function Sub Test2( ) (Good web hosting)
End Function Sub Test2( ) On Error Goto Err_Test2 Test( ) Exit Sub Err_Test2: MsgBox(”Error handled”) End Sub When Test2 is run, the message “Error handled” is displayed. This indicates that the error that occurs in the error handler of Test is passed to Test2. For more on both unstructured and structured error handling, see Chapter 7 VB .NET/VB 6 Differences In VB 6, the label in OnErrorGoTo label can be either a label or a line number. In VB .NET, the use of line numbers is not supported. See Also Err Object OpenFileDialog Class Namespace System.Windows.Forms Createable Yes Description Represents a common dialog box for selecting or opening a file. The OpenFileDialog class has properties for setting the initial appearance and functionality of the file dialog box, a property for returning the filename or names selected by the user, as well as a method for showing the dialog box. An instance of the OpenFileDialog class does not itself open the file, but instead provides the information that allows your code to do this programmatically. Under VB, the most common use for this dialog box is to get the name of a file from the user, after which we can use VB’s functions to open that file. An OpenFileDialog object can be instantiated as follows: Dim oOpenDlg As New OpenFileDialog
Note: If you are looking for good and affordable webspace to host and run your servlet application check Sandzak servlet hosting services