View Single Post
Old 12-31-2003, 08:17 PM   #2
frodobaggins
9 Fingered Administrator
Lesbian
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Vehicle: 1998 Ranger/1991 Sunbird
Posts: 9,852
My Photos: ()
Quote: Originally Posted by Da_Teach
I've written a small Windows Service that raises DTR on the com port of choice when the service is started... It will lower DTR when the computer goes into standby (probaby hibernate too, havent tested that) and it'll lower DTR when the service is stopped (which is also when your computer is shutdown, but before power is cut)...

Its written in Visual Basic.NET 2003, so it needs the .NET framework (v1.1) which can be downloaded via Windows Update...

You can download the service here:
http://www.wordtgek.nl/AmpCtrl_1.0.zip

To install the service you have to use InstallUtil which is present in the framework directory of .NET....

When your in the directory where you placed AmpCtrl, type the following:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Insta llUtil.exe AmpCtrl.exe

(to uninstall : C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Insta llUtil.exe -uninstall AmpCtrl.exe )

Modify the ampctrl.exe.config file and change the port number...

After that, the service should run next bootup...

The util is given as-is, dont blame me if something goes wrong... But it works like a charm for me (directly wired the DTR to my Amp)


Interesting use.
__________________
FrodoPlayer.com
TeaBaggins.com
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote