Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows service that will launch the command prompt
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP
Network:
Windows 2003 Server
Divers
Thread ID:
01040120
Message ID:
01040390
Vues:
14
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform