Going on to design a dockable panel, discover some very interesting techniques, such as hooking the mouse and how to debug an application in such cases. Learn to unpin a docked panel so it slides to the border of the main application.
Latest Debugging and Error Handling Articles
ASP pages are so easy to put together that sometimes developers have not thought through the problems associated with errors. Error handling can help your application to be more robust. This article by Richard Bundock dives into the basics of error handling.
One of the most important aspects of an application is how well it responds to the user, and this includes response to errors. In this article, Adam Tuliper shares techniques for catching ASP errors and shows how to create a notification system that is sure to keep customers at bay.
Use custom exceptions to add information that will be more meaningful to your users when exceptions occur. And, you still can maintain all the information from the original exception.
Be a good resource citizen by implementing IDisposable. You will be able to ensure that your objects have the opportunity to release all of their managed and unmanaged resources.
Take control of the lifetime of your objects. Release your object's resources on your schedule, not when the CLR determines they are no longer needed.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
Did you ever stop to thoroughly explore some of the more esoteric types, Lists and Stacks, that are available in the .NET collections namespace?
Learn how to make your own usable .NET Component with Visual Basic.
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.