Aligning Windows Forms custom controls to text baselines using C#
One of the nice things about the Visual Studio WinForms designers are the guidelines it draws onto design surfaces, aiding you in perfectly positioning your controls. These guidelines are known...
View ArticleDisplaying multi-page tiff files using the ImageBox control and C#
Earlier this week I received a support request from a user wanting to know if it was possible to display multi-page tiff files using the ImageBox control. As I haven't wrote anything about this control...
View ArticleError "DEP0001 : Unexpected Error: -1988945902" when deploying to Windows...
Last month, I foolishly upgraded my Lumia 630 to a 650 even though I had every intention of abandoning the Windows Mobile platform after watching Microsoft flounder without hope. However, after using...
View ArticleFTP Server Easter Eggs
I've recently being working on integrating FTP into our CopyTools application. As a result of this, I have been staring at quite a lot at FTP logs as the various tests and processes do their work.This...
View ArticleTools we use - 2016 edition
Happy New Year! Once again it's that time for the list of software products I use throughout the year. Not much change again overall, but given what I see happening in the web developer world when even...
View ArticleStartSSL code signing certificates are crippled
TL;DR: StartSSL code signing certificates are crippled and your binaries no longer trusted once they have expired, even if they have been counter signed.Two years ago I purchase a code signing...
View ArticleFinding nearest colors using Euclidean distance
I've recently been updating our series on dithering to include ordered dithering. However, in order to fully demonstrate this I also updated the sample to include basic color quantizing with a fixed...
View ArticleUsing a Jenkins Pipeline to build and publish Nuget packages
I've mentioned elsewhere on this blog that our core products are built using standard batch files, which are part of the products source so they can be either build manually or from Jenkins. Over the...
View ArticleTools we use - 2014 edition
Following on from last years post, I'll list again what I'm using and seeing what (if anything) has changed.tl;dr; - it's pretty much the same as last yearOperating SystemsWindows Home Server 2011 -...
View ArticleUsing parameters with Jenkins pipeline builds
After my first experiment in building and publishing our Nuget packages using Jenkins, I wasn't actually anticipating writing a follow up post. As it transpires however, I was unhappy with the level of...
View ArticleIntegrating NDepend with Jenkins
Apparently it's National Jenkins Month here at Cyotek as we seem to be writing about it quite a lot recently. Previously I explained how I got fed up of manually building and publishing Nuget package...
View ArticleCreating a GroupBox containing an image and a custom display rectangle
One of our applications required a GroupBox which was more like the one featured in the Options dialog of Microsoft Outlook 2003. This article describes how to create a custom GroupBox component which...
View ArticleError 80040154 when trying to use SourceSafe via interop on 64bit Windows
We recently moved to Windows 7, and I decided to go with the 64bit version for my machine. One of the utilities we use is a small tool for adding folders to Visual SourceSafe (why we haven't moved to...
View ArticleUsing XSLT to display an ASP.net sitemap without using tables
The quick and easy way of displaying an ASP.net site map (web.sitemap) in an ASP.net page is to use a TreeView control bound to a SiteMapDataSource component as shown in the following...
View ArticleConverting BBCode into HTML using C#
Although the dynamic content in the Cyotek website is written using Markdown syntax using the MarkdownSharp library, we decided to use the more commonly used BBCode tags for the forums.Some of the...
View ArticleUnable to update the EntitySet because it has a DefiningQuery and no element...
After integrating the new forum code, I added basic subscription support. When replying to a topic and opting to subscribe to notifications, the following exception would be thrown:Unable to update the...
View ArticleSnippet: Mime types and file extensions
If you have a mime type and you want to find the default extension for it, you can get this from the Extension value in the following registry key:HKEY_CLASSES_ROOT\MIME\Database\Content Type\<mime...
View ArticleCreating a Windows Forms Label that wraps with C#
One of the few annoyances I occasionally get with C# is the lack of a word wrap facility for the standard Label control.Instead, if the AutoSize property is set to True, the label will just get wider...
View ArticleBoulder Dash Part 1: Implementing Sprite AI
One of the projects I've had on the backburner for over a year now was a Boulder Dash clone. While I was working on this clone I written a basic game engine using GDI, another using managed DirectX,...
View ArticleCreating a Windows Forms RadioButton that supports the double click event
Another of the peculiarities of Windows Forms is that the RadioButton control doesn't support double clicking. Granted, it is not often you require the functionality but it's a little odd it's not...
View Article