Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows service that will launch the command prompt
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01040120
Message ID:
01040390
Views:
15
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.asp

In 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.
Previous
Reply
Map
View

Click here to load this message in the networking platform