Archive

Posts Tagged ‘Sever 2003’

How to Shutdown, Restart, Log off your computer with VB.NET or C#

August 27th, 2009 3 comments

This is extremely easy using VB.NET or C# (pronounced C sharp) and the built in windows EXE file shutdown.exe. To shutdown, restart, or log off your computer is as simple as entering 1 line into your program, it just so happens that the 1 line is identical whether you’re using VB.NET or C#. Read more…

Add or Map a Custom Hostnames to IP Address without a DNS Server

August 25th, 2009 No comments

There’s been several times where I had an Apache server running locally on my computer as a development (or dev) server. Now if this is on my home network, or if your system administrator won’t give you your own custom host name then you have to go the DIY (do it yourself) route. But, often times, I have to hard code host names, or I need several different websites hosted on my personal machine. Well that’s where the hosts file comes into play. Read more…