An Open Source Website Screen Capture Program

A few weeks ago I posted Taking Thumbnails of a Website, that shows how to take a screen shot of a website using the Web Browser control. I used the code from the post to …

Displaying Gravatars Using C#

Gravatar is a popular avatar service that links email addresses to the avatar. You do not need to register an account to be able to display gravatars on your site. All you need to do …

Using the Phidgets LCD With Outlook

When I got my Phidgets StarterKit I decided to use the LCD that came with it with the Outlook Addin I developed for my previous post "Capturing Outlook 2007's New Mail and Reminder Events". The …

Get a Movie's Details From IMDb

A while back when I was developing MoviePlay (a movies database) I wanted to allow the user to get the movie's details from IMDb (The Internet Movie Database) instead of having him/her enter it manually. …

Taking Thumbnails of a Website

I always wondered how web directories take thumbnail snapshots of my blog when I register with them. And yesterday I had some free time to find out how it could be done in C#. I …

Starting and Stopping the ScreenSaver

Starting and stopping the screensaver in C# can be done by calling the Windows API's PostMessage function, which posts a message to the Windows Message Queue asynchronously. Starting it is straight forward. But stopping it …

Dictionaries of HTML Codes

I wrote this class to help me do some screen scraping programs. It has two Dictionary objects. One contains the HTML codes and their text equivalents and the other contains the numeric HTML codes and …

Capturing Outlook 2007's New Mail and Reminder Events

Visual Studio 2008's Outlook Add-in projects allows you to create add-ins that can customize almost any feature of Ms Outlook. Two useful events that can be captured are ReminderFire and NewMailEx. The first occurs before …

Reading Excel 2003 and 2007 Files Using OLEDB

One of the feature of the application I'm working on these days is allowing the user to import data from Excel 2003 and 2007 files. After some research I found out that OLEDB is the …

Lock, Sleep or Hibernate Windows using C#

I don't think there is a Windows developer who has not done this with his or her favorite programming language. So here is the C# version. Putting Windows in Sleep or Hibernate mode can be …