Subroutines usually perform actions and they don’t return any result. A subroutine is a block of statements that carries out a well-defined task. The block of statements is placed within a set of Sub. . .End Sub statements and can be invoked by name.

The VB.NET Procedure, Function, Exception Handling – Visual Programming

In this “The VB.NET Procedure, Function, Exception Handling – Visual Programming” you will learn about the following topics:

  1. Subroutine
  2. Procedures
  3. Sub Procedure
  4. Passing Parameters by Value
  5. Passing Parameters by Reference
  6. Function
  7. Function Returning a Value
  8. By Using The Return Statement, By Assigning The Value To The Function Name
  9. Recursive Function
  10. Param Arrays
  11. Passing Arrays as Function Arguments
  12. Optional Parameter
  13. Scope
  14. Block Scope, Procedure Scope, Module Level, Namespace Scope
  15. Exception Handling
  16. Unstructured Exception Handling
  17. On Error GoTo Line, On Error Resume Next, On Error GoTo 0, On Error GoTo -1
  18. Structured Exception Handling
  19. Try, Catch, Finally, Throw
  20. Multiple Catch
  21. Throwing a Custom Exception
  22. Exception Classes in .Net Framework

==== Point to Note ====

If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].

See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

BCA 4th Semester Visual Basic Programming Notes Pdf: