Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Knowledge Base > Visual Basic.Net > Exceptions


Search:
What's New - What's Hot
HOW TO: Catch Exceptions in Visual Basic .NET (Q301283)     
Total Hits: 1654  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Catching and dealing with exceptions is a standard part of any object-oriented program. A try-catch block consists of a statement that you are trying to do something that you know may cause an exception to occur. This article demonstrates how to use a try-catch-finally block to catch an exception.
...

How to encrypt and decrypt a file by using Visual Basic .NET or Visual Basic 2005     
Total Hits: 137  |  Today: 0Author: microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to use the cryptography classes that are provided by the Microsoft .NET Framework. You can use the cryptography classes to encrypt a text file to an unreadable state. Then, you can decrypt that text file back to its original format. The System.Security.Cryptographic namespace in the .NET Framework provides a variety of tools to aid in encryption and in decryption. The CryptoStream class is one of the many classes that is provided. The CryptoStream class is designed to ...

How to catch exceptions in Visual Basic 2005 or in Visual Basic .NET     
Total Hits: 124  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

Catching and dealing with exceptions is a standard programming task. This article demonstrates how to use a try-catch-finally block to catch an exception. A try-catch-finally block is a "wrapper" that you put around any code where the possibility of an exception exists....

How does lifetime management in .NET Remoting really work     
Total Hits: 346  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Each object's lifetime in the .NET Framework is determined by the garbage collector (GC). To perform its work, the GC checks for each and every object if it is "reachable". To determine reachability, the GC starts at all root objects - which are basically all static (shared in VB.NET) members and all in-scope local variables - and traverses the complete object reference graph. Each object which is encountered by the GC on its way is marked as alive. In a second pass, all non-marked objects are d...

HOW TO: Use the XPathException Class in Visual Basic .NET (Q317108)     
Total Hits: 673  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article demonstrates how to write exception handling code to trap and handle an XPathException ( System.Xml.XPath.XPathException ). Writing error handling code to catch an XPathException when executing the Select and Compile methods of the XPathNavigator object will help to identify exceptions caused by an invalid XPath query expression....



Disclaimer - Privacy
© 2002-2017 DevASP.net