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

Image may be NSFW.
Clik here to view.

SQL Woes - Mismatched parameter types in stored procedures

We had a report of crashes occurring for certain users when accessing a system. From the stack data in the production logs, a timeout was occurring when running a specific stored procedure. This...

View Article


Implementing events more efficiently in .NET applications

One of the things that frequently annoys me about third party controls (including those built into the .NET Framework) are properties that either aren't virtual, or don't have corresponding change...

View Article


Image may be NSFW.
Clik here to view.

Adding keyboard accelerators and visual cues to a WinForms control

.syntax {max-height: 25em;}Some weeks ago I was trying to make parts of WebCopy's UI a little bit simpler via the expedient of hiding some of the more advanced (and consequently less used) options....

View Article

Image may be NSFW.
Clik here to view.

Creating and restoring bacpac files without using a GUI

Almost all databases I use are SQL Server databases. They are created with hand written SQL scripts and upgraded with hand written SQL scripts - it is very rare I'll use SQL Server Management Studio's...

View Article

Image may be NSFW.
Clik here to view.

Retrieving font and text metrics using C#

In several of my applications, I need to be able to line up text, be it blocks of text using different fonts, or text containers of differing heights. As far as I'm aware, there isn't a way of doing...

View Article


Image may be NSFW.
Clik here to view.

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 Article

Image may be NSFW.
Clik here to view.

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

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


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


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

Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

Adjusting the Jenkins Content Security Policy

One of the security features of Jenkins is to send Content Security Policy (CSP) headers which describes how certain resources can behave. The default policy blocks pretty much everything - no...

View Article

Image may be NSFW.
Clik here to view.

Integrating NDepend with Jenkins Freestyle Jobs

Previously, I've described on this blog how to do a basic integration of NDepend with Jenkins pipeline jobs. The disadvantages of the previous post was it was essentially part of a series tailored to...

View Article


Image may be NSFW.
Clik here to view.

Loading Microsoft RIFF Palette (pal) files with C#

At the start of 2014, I published an article describing how to read colour palettes from BBM/LBM files. At the end of that article I noted that Microsoft palette files used a similar format, but I...

View Article

Image may be NSFW.
Clik here to view.

Writing Microsoft RIFF Palette (pal) files with C#

A short follow up and sample program which demonstrates how to write a RIFF palette with ease.About RIFF PalettesI covered the basics of the RIFF specification and how to read palettes in my previous...

View Article

Image may be NSFW.
Clik here to view.

Using custom type converters with C# and YamlDotNet, part 1

One of our internal tools eschews XML or JSON configuration files in favour of something more human readable - YAML using YamlDotNet. For the most part the serialisation and deserialisation of YAML...

View Article
Browsing all 559 articles
Browse latest View live