| .NET Matters: Const in C#, Exception Filters, IWin32Window, and More |
| MSDN |
| Const in C#, Exception Filters, IWin32Window, and More |
|
| BETA-PRB: CommandBuilder Changes Modified Commands Back to Original (Q310366) |
| Microsoft Support |
| The CommandBuilder object may rebuild a command that you try to modify during the next call to the DataAdapter.Update method, and your changes to the command may be lost. |
|
| BETA-PRB: Error "Unhandled Exception of Type System.NullReferenceException Occurred in CommandBuilder" (Q310367) |
| Microsoft Support |
| If you use the CommandBuilder object to explicitly get commands for the DataAdapter object as follows you can receive the following error message: "An unhandled exception of type 'System.NullReferenceException' occurred in commandbuilder (projectname).exe. Additional information: Value null was found where an instance of an object was required."
|
|
| BUG: "System.NullReferenceException" exception while using the vector<bool> class |
| http://www.kbalertz.com/ |
| (837698) - Discusses a bug in template class vector<bool> that causes a "System.NullReferenceException" exception and explains how to resolve this bug by correcting the code in vector file. |
|
| BUG: DataSet Does Not Load Original Records of DiffGram Correctly (Q319919) |
| Microsoft Support |
| Under the following circumstances |
|
| BUG: Varying errors may occur when you try to call managed code from unmanaged code in Visual C++ .NET 2003 |
| http://www.kbalertz.com/ |
| (837318) - Explains that an error message may occur when you try to call managed code from unmanaged code in Visual C++ .NET 2003. Explains that the error occurs if your application contains unmanaged code and uses multiple application domains. |
|
| Continuous Forms for .Net |
| The Code Project |
| This coveted MS Access feature now available for .NET\nThe equivalent of ASP.NET's DataList for WinForms\nProviding a DataBound Templated control for the rich client environment.\nFull source code included. |
|
| Creating a Singleton Service with Visual Studio .NET |
| MSDN |
| A common design pattern that I've seen used is the creation of a COM singleton that resides in a service. A service is a long-running executable that does not support a user interface, and which might not run under the logged-on user account. The service can run without any user being logged on to the computer. This makes services ideal for use on a server or whenever you need functionality that does not interfere with other users who are working on the same computer. |
|
| Designing .NET Class Libraries: Member Types |
| MSDN |
| Learn when to use certain member constructs such as properties, methods, and events over other constructs and why. |
|
| Detecting File Encodings in .NET |
| DevHood |
| So you need to read data from a text file, or possibly even a binary file? Do you need to read one byte or two for character arrays, a.k.a. strings? This is a common problem with anything file I/O operations today, especially since the de facto file encoding is Unicode these days, but applications must usually be able to work with older file formats and encodings, which are probably still ASCII files. You need a way to detect what the file encoding is, or leave it to the user to decide (and we all know how well that works!). This tutorial will cover basic detection routines and give you some sample code that you can use in your applications to (usually) detect what the file encoding is.
|
|
| DOC: Incorrect Code Sample in "SqlDataAdapter.UpdateCommand Property" Documentation |
| Microsoft Support |
| (319387) - The SqlDataAdapter.UpdateCommand Property MSDN documentation and the "SqlDataAdapter.UpdateCommand Property" topic in the Microsoft Visual Studio .NET Help documentation describe how to get or how to set a Transact-SQL statement to update records in a... |
|
| FIX: ASP.NET returns a "NullReferenceException" error message when you use SQL Server Session state and you turn on the OutPutCaching feature |
| http://www.kbalertz.com/ |
| (831382) - When you use the Microsoft SQL Server Session state, and you turn on the OutPutCaching feature for a Web page, if you set the Location attribute to Client (<%@ OutputCache Location="Client" Duration="900" VaryByParam="WaitMessage" %>), a user may... |
|
| FIX: Invalid Object in ASP Session State |
| http://www.kbalertz.com/ |
| (810245) - A Microsoft .NET-connected Web application stores a Component Object Model (COM) object in the session state. When you leave the application idle for 12 to 20 minutes, and then you try to gain access to the COM object again, you may receive an invalid... |
|
| FIX: Invalid Object in ASP Session State |
| Microsoft Support |
| (810245) - A Microsoft .NET-connected Web application stores a Component Object Model (COM) object in the session state. When you leave the application idle for 12 to 20 minutes, and then you try to gain access to the COM object again, you may receive an invalid... |
|
| FIX: You receive a "System.NullReferenceException" exception when you merge parent and child menus in an MDI form-based application in the .NET Framework 1.1 |
| http://www.kbalertz.com/ |
| (890328) - Fixes a problem where you receive a "NullReferenceException" exception when you merge parent and child menus in MDI form-based applications in the .NET Framework 1.1. |
|
| How to create and use static members by using Visual C++ .NET |
| Microsoft Support |
| (815704) - How to declare and use properties, fields and functions inside the classes that are static and how to access these class members. |
|
| How to create and use static members by using Visual C++ .NET |
| http://www.kbalertz.com/ |
| (815704) - How to declare and use properties, fields and functions inside the classes that are static and how to access these class members. |
|
| How to obtain unmanaged stack information from a managed block of code in Microsoft Visual Studio .NET |
| http://www.kbalertz.com/ |
| (841888) - Describes how to handle exceptions that were generated in unmanaged code in Microsoft Visual Studio .NET with managed code. |
|
| How to obtain unmanaged stack information from a managed block of code in Microsoft Visual Studio .NET |
| http://www.kbalertz.com/ |
| (841888) - Describes how to handle exceptions that were generated in unmanaged code in Microsoft Visual Studio .NET with managed code. |
|
| How to use the Hashtable collection in Visual C++ .NET |
| http://www.kbalertz.com/ |
| (815673) - This step-by-step article describes how to use the Hashtable collection. By using hashing to retrieve the data, you do not have to use the costly searching mechanism. Hashing uses the value of the key itself to locate the data. The Base Class... |
|
| How to use the Hashtable collection in Visual C++ .NET |
| Microsoft Support |
| (815673) - This step-by-step article describes how to use the Hashtable collection. By using hashing to retrieve the data, you do not have to use the costly searching mechanism. Hashing uses the value of the key itself to locate the data. The Base Class... |
|
| IInterfaces Part 1 – Implementing IEnumerable and IEnumerator |
| The Code Project |
| Part 1 of carefully crafted examples that demonstrate the usefulness of implementing various interfaces. |
|
| IInterfaces Part 2 – Implementing IComparable and IComparer |
| The Code Project |
| Part 2 of carefully crafted examples that demonstrate the usefulness of implementing various interfaces. |
|
| Messaging Between Threads using Message Loop |
| C# Corner |
| MessageLoopLib is a stripped down version of a complete, threading communication subsystem I’ve written. This implementation is a single thread created in the GUI constructor. I’ve dropped all thread management and have had to change some of the message code to accommodate this. |
|
| Microsoft Content Management Server Thumbnail Images Placeholder |
| The Code Project |
| An XML placeholder control that displays thumbnails of images in a Resource Gallery. |
|