|
|
|
|
|
|
| | Total Hits: 7 | Today: 0 | Author: Jesse Liberty | Rating:  |
| |  If you're used to Visual Basic 6.0 and you're making the transition to Microsoft .NET, you will find that error handling is quite different from what you've used for years. Visual Basic .NET uses a more object-oriented solution to signaling and responding to unexpected problems while your program is running. This approach, called structured exception handling, has a number of advantages over the On Error statements provided in previous versions of Visual Basic. For instance, exceptions give you ... |
| | Total Hits: 27 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  Your custom controls will sometimes expose a collection as a property. This walkthrough demonstrates how to use the DesignerSerializationVisibilityAttribute class to control how a collection is serialized at design time. Applying the Content value to your collection property ensures that the property will be serialized.... |
| | Total Hits: 15 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  ShouldSerialize and Reset are optional methods that you can provide for a property, if the property does not a have simple default value. If the property has a simple default value, you should apply the DefaultValueAttribute and supply the default value to the attribute class constructor instead. Either of these mechanisms enables the following features in the designer: * The property provides visual indication in the property browser if it has been modified from its default value.... |
| | Total Hits: 13 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 93 | Today: 0 | Author: Stephen Toub | Rating:  |
| |  In my Windows® Forms application, I use a BinaryFormatter to save a large amount of application state, sometimes serializing to disk very large objects. At a later point, this state file needs to be loaded and deserialized by the application, and this deserialization process can take a measurable amount of time. Currently for both serialization and deserialization, I show a marquee progress bar, but that only provides an indication to the user that something is happening. For deserialization, I'... |
| | Total Hits: 90 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  In this tutorial, you will learn how to create a Microsoft Windows Forms application using Microsoft Visual Basic.NET that synchronizes data between a Microsoft SQL Server 2005 database and a Microsoft SQL Server 2005 Compact Edition database using Microsoft SQL Server 2005 Compact Edition Remote Data Access (RDA).... |
| | Total Hits: 105 | Today: 0 | Author: Ken Spencer | Rating:  |
| |  Developers frequently ask me for clarification on Microsoft's strategy for the future with regard to COM+, Microsoft® Transaction Services (MTS) with its features of JIT activation and object pooling, Microsoft Message Queuing (MSMQ), and DCOM. What's in store for Web farms versus app servers versus ASP and component integration? Since everybody's clamoring for answers, let's take these questions one at a time. First, I'll deal with the COM+ and MTS issue.... |
| | Total Hits: 87 | Today: 0 | Author: Deborah Kurata | Rating:  |
| |  In previous versions of Visual Basic, the best practice for handling errors was put On Error Goto in every routine, but there is no On Error statement in Visual Basic .NET. This article describes how to use new Visual Basic .NET features to handle errors without using On Error Goto statements.... |
| | Total Hits: 669 | Today: 0 | Author: w3coder | Rating:  |
| |  This Article explains the usage of sending and receiving messages using MSMQ in VB.Net... |
| | Total Hits: 451 | Today: 0 | Author: MSDN | Rating:  |
| |  The DataAdapter class throws generic exceptions when problems occur. This article demonstrates how to obtain a descriptive error message for each row and column that is in fault in any table in a given DataSet class. This is very useful in update scenarios when it is important to check if there are errors in any row or column.... |
| | Total Hits: 1714 | Today: 0 | | Rating:  |
| |  Discusses how error handling differs between Visual Basic .NET and Visual Basic 6.0. Main topics include Try/Catch blocks, Exception objects, procedure callers, and how to create your own Exception classes. ... |
| | Total Hits: 806 | Today: 0 | | Rating:  |
| |  This step-by-step article demonstrates how to connect an event of a control in Visual Basic .NET to the code that will execute when the event occurs. Because Visual Basic is an event-driven language, the ability to execute code when an event occurs is critical.... |
| | Total Hits: 2886 | Today: 0 | | Rating:  |
| |  One of the main features of ASP.NET over ASP is it's new error handling features. The only way to capture errors in the ASP/VBScript was using the "On Error Resume Next" statement and checking each line for an error with "If Err.Number <> 0 Then " statements. Developers who where using JScript instead of the VBScript at the server-side where lucky. They've had access to the "Try... Catch" statements provided by JScript. Well it's all over now. Now all the .NET enabled languages support better er... |
| | Total Hits: 1935 | Today: 0 | | 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.... |
| | Total Hits: 1048 | Today: 0 | | Rating:  |
| |  This is the forth installment from the Programming Visual Basic .NET chapter on ADO.NET, focusing on binding a DataSet to a Windows and a Web Forms DataGrid.... |
| | Total Hits: 1263 | Today: 0 | | Rating:  |
| |  We have been using the Windows API's to get the most out of the Windows Operating system, .NET extends its support for using the Windows API's , check out how we can use the MessageBox API to display a simple MessageBox.... |
| | Total Hits: 2012 | Today: 0 | | Rating:  |
| |  This article demonstrates how to add your own entries to the operating system's event log using the Microsoft .NET Framework.... |
| | Total Hits: 3321 | Today: 0 | | Rating:  |
| |  Windows NT introduced the concept of a long running application called NT Services (now called Windows Services). These are usually applications that run in the background and provide services to client applications. Under Windows NT, writing a service was much more difficult that writing a simple application. Further, since services were multithreaded, it was not easy writing a service in VB. You would have to write the functionality in VB and encapsulate that within a C++ wrapper. However..... |
| | Total Hits: 2128 | Today: 0 | | Rating:  |
| |  This is a VB.NET version of my C# tutorial "Working with Data-bound controls in C#". Working with data-bound controls using .NET ADO.NET and WinForms is so fun. You write few lines of code and these controls take care of rest for you. In this article, I’m going to show you how to use these data-bound controls in your .NET WinForms applications using VB.NET. ... |
| | Total Hits: 2089 | Today: 0 | | Rating:  |
| |  Serialization is the process of converting a graph of objects, into a linear sequence of bytes. That sequence of bytes can be sent elsewhere (for example, to a remote computer) and Deserialized, thereby making a clone in that remote memory of the original graph of objects. The process of serialization is very easy with .NET and its open too. Every VB 6 programmer have used this feature of Serialization knowingly or unknowingly. When any class in ActiveX dll or ActiveX exe is created , there are ... |
|
|
|
|
|
|