Create a Shortcut in the Startup Folder using C# without Interop

by rahul 4/23/2012 6:29:02 PM
While writing a utility, I needed a feature that it would run at startup. I also wanted to ensure that it is a configurable setting. Seemed like a pretty easy thing to do… and went for it, only to realize that it is not as easy as it looks initially. First up, creating a shortcut itself tends to be ... [More]


Silverlight – Create a binary clock

by rahul 6/16/2010 11:03:15 AM
Even though I am new to Microsoft Silverlight development, I am mighty impressed with it. In this post, I will show you how easily you can create a Binary Clock that looks somewhat like this… If you don’t know how to read a binary clock, check this, or this out. Watch a live demo There are quit... [More]


A C# Argument Parser for a Windows Console Application

by praveen 1/11/2009 4:13:56 PM
There are a multitude of Argument Parsers available online. So why am I writing my own? Well to be frank… I did a search and couldn’t find anything that would be either “easy” to implement. I know that this is not much, but hope other programmers might find this useful if they are as lazy as I am an... [More]


Visual Studio 9 - More control over Recent Projects list in Start Page

by rahul 8/28/2008 12:14:59 PM
If you work with a lot of samples, the chances are quite likely that you will end up in a rather dirty list of Recent Projects List in Visual Studio. I'm personally quite nit-picky and I really hate it when I find something like this... Now... I don't know which of these Samples should I cl... [More]


Recursively listing all MOSS Site Collections and Sub Sites

by praveen 8/16/2008 3:06:54 PM
One of the painful tasks for a MOSS Admin is to make a list of all site-collections, sub-sites and nested sites. If you have allowed your customers to create their own sub-sites off a site collection or root site, it can turn out to be a really tough trying to create a list of all those. Our product... [More]


4 ways to send a PDF file to the IE Client in ASP.NET 2.0

by Rahul 6/19/2008 4:02:58 PM
In this scrap, I am sharing a project using which you can send PDF files to the IE Client in four different ways. Create a new C# Website. While creating the following pages ensure that you DON'T have "Place code in Separate file" checkbox as checked. You need to create 4 pages called &q... [More]


Visual Studio 2008 - More control over Recent Projects list in Start Page

by Rahul 6/17/2008 3:31:00 PM
If you work with a lot of samples, the chances are quite likely that you will end up in a rather dirty list of Recent Projects List in Visual Studio. I'm personally quite nit-picky and I really hate it when I find something like this... Now... I don't know which of these ... [More]


C# Example for a File In Use

by praveen 6/14/2008 3:50:16 AM
Recently I was working on some code where it was required to open a file, write something to it and close it. I ran into a small problem while considering the code. Since this was a Doc file the problem was that how do I check if the file was already open or not?  If the file is already open fo... [More]


Play with Colors - Part 2 - Check the font on a specific background using .NET reflection

by Rahul 6/13/2008 9:42:25 AM
I have already shown how to use .NET reflection to get the information about all the colors in .NET. Let's say you want to check out how a specific colored font would appear on any background, you may like to check this sample. Use the code which follows to get an output like the one below. ... [More]


Play with Colors - Part 1 - See all the colors using .NET reflection

by Rahul 6/10/2008 7:10:00 PM
When you work on designing a website, you may find it difficult to remember all the color names and visualize them. At least, I am personally not very good with color selection and find it really hard to recall the color names. So, in this scrap we will check out how to use .NET reflection to print ... [More]


Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  May 2013  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

All Items
Sign in

Visit Microsoft's Site

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2013, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0