Procedure Delegates in VB.net
Sometimes, 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 tutorialTHE TUTORIAL LIBRARY
Sometimes, 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 tutorialYou can use the Join method to wait until a thread finishes; this method will return when the thread is finished executing. Here are the various forms of this method:
Read tutorialTo make use of a Web service, you have to add a Web reference to your application. Here is the code for the WebServWindowsApplication application, Form1.vb:
Read tutorialCreating a Web service is not difficult-just select the File|New|Project menu item, select the ASP.NET Web Service icon, and click OK. That creates a new Web service project, ready
Read tutorialOne example today. A better developer tomorrow.