Quantcast
Channel: cyotek.com Blog Summary Feed
Browsing all 559 articles
Browse latest View live

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 Article


Error 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 Article


Using XSLT to display an ASP.net sitemap without using tables

Using XSLT to display an ASP.net site map without using tables.

View Article

Converting 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 Article

Unable 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 Article


Snippet: 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 Article

Creating 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 Article

Boulder 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 Article


Creating 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 Article


Boulder Dash Part 2: Collision Detection

Sample project for implementing collision detection in the sprites of the Boulder Dash (Boulderdash) arcade game.

View Article

Adding 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 Article

Creating 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 Article

Creating 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 Article


Creating 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 Article

Creating 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 Article


Creating 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 Article

Comparing 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 Article


Using 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 Article

MVC actions, AcceptVerbs, HEAD requests and 404 errors

A tip on using the AcceptVerbs attribute with MVC actions

View Article

Creating 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
Browsing all 559 articles
Browse latest View live


Latest Images