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 > Articles & Samples > Visual Basic.Net > Exception


Search:
What's New - What's Hot
Instrumenting Your Code for Exception Management     
Total Hits: 421  |  Today: 0Author: Paul Kimmel      Rating:  
Read Reviews | Write Review |  Your Rating: 

Software engineers contrive technical words as easily as lawyers use Latin in legal briefs. Some new words and phrases in the lexicon of professional programmers include instrumentation, application blocks, and agile programming. Like you, I have to fine-tune my etymological filter to maintain a useful signal-to-noise ratio. So, I know that instrumentation includes adding diagnostic code to an application, and that application blocks are mini-frameworks that provide a class of a solution. I stil...

HOW TO: Catch Exceptions in Visual Basic .NET (Q301283)     
Total Hits: 1659  |  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.
...

Exception Handling in VB.Net  Version: 0.00     Price: $0.00  
Total Hits: 16  |  Today: 0Author: Mahesh Chand      Rating:  
Read Reviews | Write Review |  Your Rating: 

Exception handling is crucial since the robustness of software depends on how effectively a program deals with exceptions. Basically exceptions are the run time error....

How to: Handle Errors and Exceptions that Occur with Databinding  Version: 0.00     Price: $0.00  
Total Hits: 30  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Oftentimes exceptions and errors occur on the underlying business objects when you bind them to controls. You can intercept these errors and exceptions and then either recover or pass the error information to the user by handling the BindingComplete event for a particular Binding, BindingSource, or CurrencyManager component....

Introduction to Exception Handling in Visual Basic .NET     
Total Hits: 291  |  Today: 0Author: Cat Francis      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article provides an overview of structured and unstructured exception handling in Visual Basic .NET. It includes considerations that help you choose the right exception-handling alternative, the approaches involved in each alternative, how to create your own exceptions, and the exception object's properties. A table at the end lists the predefined exception classes and their derived classes. Only perfect programmers create perfect code from the beginning. The rest must address imperfections...

Real Time Exception Handling with Stack Trace  Version: 0.00     Price: $0.00  
Total Hits: 179  |  Today: 0Author: Sabarinathan Arthanari      Rating:  
Read Reviews | Write Review |  Your Rating: 

Exception handling is the major activity in application life cycle and especially for VB6 platform which doesn't provide much support for exception handling natively. This article might help to focus on the best way to debug the deployment version of your applications and to find out the exact problem on client machines....

Log Elmah errors in Team Foundation Server  Version: 0.00     Price: $0.00  
Total Hits: 177  |  Today: 0Author: Martin Hinshelwood      Rating:  
Read Reviews | Write Review |  Your Rating: 

I am not sure if this is a good idea, but I was bored one day and decided to add a TFS Error Log provider for Elmah. There are 2 ways you can do this. You can create a new WorkItem type and log an error report for each of the errors or you can create one work item for each error type/title. To do this, you can create a title that is the combination of error message and application name and then search TFS for an existing work item. If it exists, then add the error to it, if it does not then crea...

Introduction to Exception Handling in Visual Basic .NET  Version: 0.00     Price: $0.00  
Total Hits: 18  |  Today: 0Author: Cat Francis      Rating:  
Read Reviews | Write Review |  Your Rating: 

Only perfect programmers create perfect code from the beginning. The rest must address imperfections along the way to developing a successful application.

Luckily for us Microsoft® Visual Basic® .NET offers two ways of handling exceptions. The first, unstructured, follows the exception-handling conventions of earlier versions of Visual Basic. The second, structured, handles exceptions in ways that resemble exception handling in Microsoft® Visual C#™ and Microsoft® Visual C++®....

DbConnection, DbCommand and DbException (ADO.NET)  Version: 0.00     Price: $0.00  
Total Hits: 33  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Once you have created a DbProviderFactory and a DbConnection, you can then work with commands and data readers to retrieve data from the data source....

Using the Try...Catch...Finally Statement     
Total Hits: 103  |  Today: 0Author: Donny Mack      Rating:  
Read Reviews | Write Review |  Your Rating: 

Structured error handling will be a completely new concept to Visual Basic and VBScript developers. Since the .NET Framework requires the use of Strong Typed Languages, such as Visual Basic it is time to learn how to use this method of error handling. Up until ASP.NET only unstructured error handling has been available within a web page, as with prior versions of Visual Basic. For those of you who are not aware what unstructured error handling is please see Listing 1.1 for a list and description...

Exception Handling in Enterprise Applications     
Total Hits: 112  |  Today: 0Author: Scott Rutherford      Rating:  
Read Reviews | Write Review |  Your Rating: 

Exception handling is often understood to mean "exception stopping". That is, make my program continue to run without stopping and without requiring human interaction. However, exceptions can be lifelines that help you maintain the health of a dynamic Enterprise application. Often you will want to track and respond to an application that is not self-contained in a single process, or on a single machine....

Throwing Custom Exception Types from a Managed COM+ Server Application     
Total Hits: 128  |  Today: 0Author: Bob DeRemer      Rating:  
Read Reviews | Write Review |  Your Rating: 

Exception handling semantics in .NET are based on type, so you can create custom exceptions that have their own properties and methods. In .NET, exceptions are first-class citizens, and since they're the built-in error handling mechanism, all .NET-compliant languages must support exceptions. In addition, COM+ services are available to .NET code as Enterprise Services, so you can leverage exceptions in your Enterprise Services design.

In this article the author describes custom exceptions,...

Safe Form - Simplified Unhandled Exception Handling in Visual Basic .NET     
Total Hits: 155  |  Today: 0Author: JSaunders.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article hopes to simplify two key hurdles that took me a while to get past. First, unhandled exceptions. While I'm sure that none of you ever have any of these, I seem to get them at the most inopportune times. The unfriendly Continue or Quit dialog just does wonders for your reputation and almost inevitably means a crash will be imminent while you're presenting your application, or, even worse, after releasing it. The second piece that I'd like to show you is how to simplify creating templ...

User Friendly Exception Handling     
Total Hits: 170  |  Today: 0Author: wumpus1.      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Visal Basic 6, there was no way to globally handle all of the errors in your application. You could simulate one by wrapping every sub or function in an On Error statement, but that was rather painful.

One of the great features of .NET is the very powerful thread and application level exception handling mechanisms that make developing a global error handler practical. One of the first things I set out to do when starting with .NET was finally implement all those great global error hand...

Introduction to Exception Handling in Visual Basic .NET     
Total Hits: 147  |  Today: 0Author: Cat Francis      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article provides an overview of structured and unstructured exception handling in Visual Basic .NET. It includes considerations that help you choose the right exception-handling alternative, the approaches involved in each alternative, how to create your own exceptions, and the exception object's properties. A table at the end lists the predefined exception classes and their derived classes....

Encryption and Decryption via a One Time Pad concept. Part 3     
Total Hits: 170  |  Today: 0Author: Thomas      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Part 1of this article, we scripted four basic crypto routines, in Part 2 we added some conversion routines to keep the crypto within the printable range for web work. So if you haven't read these articles yet, you really should.
In this finial part, I'll pull it all together into a single crypto library include file, test the library, provide some documentation, and .zip the whole deal up for your convenience....

Encryption and Decryption via a One Time Pad concept. Part 2     
Total Hits: 283  |  Today: 0Author: Thomas      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Part 1 of this article, we scripted four basic routines, WizPad to generate one time pad key values in the WizKey array, GenPad to create secret seed and repeat values for WizPad, WizET that encrypts plain text into crypto text, and WizDT that decrypts previously encrypted crypto text back to plain text. So if you haven't read Part 1 of this article, you really should start there....

Encryption and Decryption via a One Time Pad concept. Part 1     
Total Hits: 324  |  Today: 0Author: Thomas      Rating:  
Read Reviews | Write Review |  Your Rating: 

Normally if I need web encryption I use SSL, but there are a very few circumstances where a crypto library can come in handy. Consider the circumstances of a web server encrypting information for cookies, hidden input tags, or URL's. Only the web server will be doing the encryption and decryption, so no public keys are needed. After tinkering with a lot of different concepts, I've settled on a one time pad encryption and decryption scheme, which is easy to implement, and light on server loading....

Tackle Data Concurrency Exceptions Using the DataSet Object     
Total Hits: 133  |  Today: 0Author: David Burgett      Rating:  
Read Reviews | Write Review |  Your Rating: 

ADO.NET provides many techniques for improving the performance of data-intensive applications and for making them easier to build. The DataSet, the hallmark of the ADO.NET object model, serves as a miniature, disconnected facsimile of a data source. While using the DataSet improves performance by reducing expensive trips to the database server, it also introduces the possibility of multiple users attempting to change the same data simultaneously, thereby generating data concurrency exceptions. T...

Exception-Handling in VB.NET     
Total Hits: 300  |  Today: 0Author: Wim UYTTERSPROT      Rating:  
Read Reviews | Write Review |  Your Rating: 

In VB.NET beschikken we over ingebouwde support voor de behandeling van exceptions. Een exception is letterlijk vertaald een uitzondering, een uitzondering op de normaal te volgen instructie-weg.
De sleutel om het concept van een exception en dat van de behandeling van exceptions te begrijpen is een exception zeker niet te aanzien als een fatale fout, maar als een afwijkende conditie waarop gereageerd moet worden.
Exceptions dienen behandeld te worden in een try-catch blok of een try-catch...


1  2  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net