Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building a new process
Message
De
06/03/2009 12:07:22
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, États-Unis
 
 
À
23/02/2009 14:40:11
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01383547
Message ID:
01386244
Vues:
36
>>Can somebody give me a high level explanation of how I might do this...
>>
>>I want to create an exe that runs as a process and not an application. For example, I don't want this .exe to show up in the Applications tab of the Task Manager.
>>
>>My plan is to have an icon in the system tray where the user can right click and control through the context menu, similar to the Volume Control icon or MSN Messenger (both of which actively run but don't show in the Applications tab).
>
>Some stuff to get you started:
>http://www.c-sharpcorner.com/UploadFile/mahesh/window_service11262005045007AM/window_service.aspx
>http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=300
>http://www.codeproject.com/KB/install/csharpsvclesson1.aspx
You can try this approach, if your try to start a process and hide the window

Dim ProcessProperties As New ProcessStartInfo
ProcessProperties.FileName = "notepad"
ProcessProperties.Arguments = "myTextFile.txt"
ProcessProperties.WindowStyle = ProcessWindowStyle.Hidden
Dim myProcess As Process = Process.Start(ProcessProperties)


Evans
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform