John,
You can find several good Windows Service tutorials at CodeProject.com. Here is one example (I think I used this a long time ago)
http://www.codeproject.com/dotnet/simplewindowsservice.aspIn addition to getting more familiar with Windows Services and .NET I would suggest to try to create a simple console app or a simple windows form app and use the same principle as you described in your original post. It will be easier to debug.
Just my $0.02 worth.
Einar
>hye guys...
>im a newbie in VB.net ..only a few hours old...
>part of my project is to launch the arp command from the command prompt every 10 seconds.....
>
>i want to do that from VB.net since i have found that it creates a service.
>i tried the following but failed:-
>
>1) Open a windows service project from Vb.net
>
>2) Drag a process from component toolbar...
> change the start info property from Process property....
> change the file name to : c\windows\system32\cmd.exe
> argument :- arp -a >>arp.txt
>
>3) build----here no fault is detected....
>but after installing teh service and starting it.....nothing happens>>>poor me....
>
>
>can anyone help me plzz...or give me the necessary tutorial
Semper ubi sub ubi.