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. …
I found this question asked a lot in forums so I thought I should answer it here. Getting the physical path of the website can be done using Request.PhysicalApplicationPath. The following code also lists the …
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 …
Although such threats are not common, but a developer can create a malicious Visual Studio code snippet in three different ways. The first is of course writing the malicious code straight into the snippet's code …
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 …
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 …
Code Snippets are ready-made snippets of code that can be inserted in your code. They improve the developers efficiency and accuracy because they reduces typing and help code reuse.
The AJAX Controls Toolkit is an open source toolkit developed by Microsoft and the ASP.NET community. The latest version is for .NET 3.5 and it contains 38 client side components used to create Rich Internet …
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 …