Using Resume Next and Resume Line in VB.net
One of the most useful aspects of unstructured exception handling is the Resume statement, which lets you resume program execution even after an exception has occurred. You can use
Read tutorialTHE TUTORIAL LIBRARY
One of the most useful aspects of unstructured exception handling is the Resume statement, which lets you resume program execution even after an exception has occurred. You can use
Read tutorialThe scope of a variable or constant is the set of all code that can refer to it without qualifying its name. A variable's scope is determined by where the variable is declared. It'
Read tutorialVisual Basic objects can have methods, fields, and properties. If you've worked with Visual Basic before, you're familiar with properties, which you use to set configuration data f
Read tutorialSometimes, it's useful to be able to pass the location of a procedure to other procedures. That location is the address of the procedure in memory, and it's used in VB .NET to crea
Read tutorialYou've written a function named Counter to keep track of the number of times the user clicks a particular button. Each time through a loop, you call the Counter function to increme
Read tutorialYou also can make arguments optional in VB .NET procedures if you use the Optional keyword when declaring those arguments. Note that if you make one argument optional, all the foll
Read tutorialUsually, you cannot call a procedure with more arguments than the procedure declaration specifies. When you need an indefinite number of arguments, you can declare a parameter arra
Read tutorialUnlike Sub procedures, functions can return values. You use the Function statement to create a function:
Read tutorialWe know all about Sub procedures: They're the handy blocks of code that can organize your code into single-purpose sections to make programming easier. Unlike functions, Sub proced
Read tutorialVisual Basic also supports structured exception handling. In particular, Visual Basic uses an enhanced version of the Try…Catch…Finally syntax already supported by other langua
Read tutorialThe old error-handling mechanism in VB6 and before is now called unstructured exception handling, and it revolves around the On Error Goto statement. You use this statement to tell
Read tutorialThe scope of an element in your code is all the code that can refer to it without qualifying its name (or making it available through an Imports statement). In other words, an elem
Read tutorialOne example today. A better developer tomorrow.