Tuesday, August 25, 2009

10 Windows XP Services You Should Never Disable

1. DNS Client
If you stop this service, you will disable your computer’s ability to resolve names to IP addresses, basically rendering Web browsing all but impossible.

2: Network Connections
If this service is disabled, network configuration is not possible. New network connections can’t be created and services that need network information will fail.

3: Plug and Play
If you disable Plug and Play, your computer will be unstable and incapable of detecting hardware changes.

4: Print Spooler
When the Print Spooler service is not running, printing on the local machine is not possible. 5: Remote Procedure Call (RPC)Bad news. The system will not boot. Don’t disable this service.

6: Workstation
Disable the Workstation service and your computer will be unable to connect to remote Microsoft Network resources.

7: Network Location Awareness (NLA)
Your computer will not be able to fully connect to and use wireless networks. Problems abound!8: DHCP ClientWithout the DHCP Client service, you’ll need to manually assign static IP addresses to every Windows XP system on your network. If you use DHCP to assign other parameters, such as WINS information, you’ll need to provide that information manually as well.

9: Cryptographic Services
Disable Cryptographic Services at your peril! Automatic Updates will not function and you will have problems with Task Manager as well as other security mechanisms.

10: Automatic Updates
New security updates will not be automatically installed to your computer.

Wednesday, August 19, 2009

Convert String to System.Drawing.Color in ASPX C#

Here is a small example of how to convert a System.Drawing.Color to the HTML color format (Hex value or HTML color name value) and back.

System.Drawing.Color c = System.Drawing.ColorTranslator.FromHtml("#F5F7F8");
String strHtmlColor = System.Drawing.ColorTranslator.ToHtml(c);

Sunday, August 2, 2009

Happy Friendship Day 2009


Developing 100 Friends in 1 year is not a gain. But developing 1 Friend for 100 years is a great achievement. "Happy Friendship Day 2009"