Creating a GroupBox containing an image and a custom display rectangle
This article shows how to create a custom GroupBox component, and adjust the client area used for positioning controls hosted in the GroupBox.
View ArticleError 80040154 when trying to use SourceSafe via interop on 64bit Windows
Working around exception "Retrieving the COM class factory for component with CLSID {783CD4E4-9D54-11CF-B8EE-00608CC9A71F} failed due to the following error: 80040154." when trying to connect to...
View ArticleUsing XSLT to display an ASP.net sitemap without using tables
Using XSLT to display an ASP.net site map without using tables.
View ArticleConverting BBCode into HTML using C#
A simple to use class library for converting text containing BBCode used by popular forum systems into HTML using C#.
View ArticleUnable to update the EntitySet because it has a DefiningQuery and no element...
Solving the exception "Unable to update the EntitySet because it has a DefiningQuery and no element exists in the element to support the current operation." when using the Entity Framework
View ArticleSnippet: Mime types and file extensions
Snippet with a pair of helper functions showing how to get the default file extension for a given mime type, or the mime type from a given file extension.
View ArticleCreating a Windows Forms Label that wraps with C#
Article describing how to create a custom implementation of a standard Windows Forms Label to give it the ability to wrap and still autosize.
View ArticleBoulder Dash Part 1: Implementing Sprite AI
Sample project for implementing the AI of the Butterfly and Firefly sprites of the Boulder Dash (Boulderdash) arcade game.
View ArticleCreating a Windows Forms RadioButton that supports the double click event
The default RadioButton component doesn't offer a double click event. This article describes how to override the default implementation and enable double clicking.
View ArticleBoulder Dash Part 2: Collision Detection
Sample project for implementing collision detection in the sprites of the Boulder Dash (Boulderdash) arcade game.
View ArticleAdding a horizontal scrollbar to a ComboBox using C#
How to add a horizontal scrollbar to a ComboBox in C# using the WS_HSCROLL style and CB_SETHORIZONTALEXTENT message.
View ArticleCreating a scrollable and zoomable image viewer in C# Part 1
First in a multi part series on creating an image viewer that can be scrolled and zoomed in C#.
View ArticleCreating a scrollable and zoomable image viewer in C# Part 2
Second in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part one created the initial component with auto resize, we now add scrolling support.
View ArticleCreating a scrollable and zoomable image viewer in C# Part 3
Third in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part two added scrolling support, we now extend this to support panning and keyboard scrolling.
View ArticleCreating a scrollable and zoomable image viewer in C# Part 4
Fourth and final in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part three added panning, we now add zoom support via the mouse wheel and clicking with...
View ArticleCreating a trackback handler using C#
An article showing how to create a trackback handler in C# for use with either ASP.NET webforms or MVC.
View ArticleComparing the properties of two objects via Reflection and C#
As part of the refactoring I was doing to the load code for crawler projects I needed a way of verifying that new code was loading data correctly. As it would be extremely time consuming to manually...
View ArticleUsing the XmlReader class with C#
Some of the project files created by Cyotek Sitemap Creator and WebCopy are fairly large and the load performance of such files is poor. The files are saved using a XmlWriter class which is nice and...
View ArticleMVC actions, AcceptVerbs, HEAD requests and 404 errors
A tip on using the AcceptVerbs attribute with MVC actions
View ArticleCreating a WYSIWYG font ComboBox using C#
This article shows how to use the built in ownerdraw functionality of a standard Windows Forms ComboBox control to display a WYSIWYG font list.
View Article