Archive for the ‘Programming’ Category

Stop .net from automatically formatting code

Stop .net from automatically formatting code

Posted on: March 6th, 2009 by deanpugh

I do a lot of coding for websites, and to do this, I use Notepad++ which is brilliant. When I have to do programming in .net, whenever I do IF statements or loops, .net loves to automatically align everything and try to tidy things up. Now for most people this is a wonderful feature, for [...]

List Every Installed Font

List Every Installed Font

Posted on: July 15th, 2008 by deanpugh

Today I had to provide a list of all our fonts to a customer so that they could pick the one they wanted to use. On first inspection there is no easy way of doing this. The font’s file name is not actually the font name. A quick search on the web lead to this [...]

C# Auto Email

C# Auto Email

Posted on: March 31st, 2008 by deanpugh

I recently had a project where I needed a program to deal with emails automatically. We have an account which emails are sent to, this program needs to save the text of the email and any attachment in a directory ready for another program to process. I decided to go with c# with the idea [...]