Solved

c#  - how can 1 executable be started by another?

Posted on 2008-06-19
2
234 Views
Last Modified: 2010-04-21
i would like to know how 1 app can start another app.
just like u do in "CMD.exe"
myprogram.exe -logion ..... ...... -pass .....


thanx for reading and kind regards.
0
Comment
Question by:Natural_Demon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 125 total points
ID: 21827773
you can do as:

System.Diagnostics.Process.Start("myprogram.exe", "-arg1 -arg2");

also ensure to provide the proper path if the program is not in the same forlder as your running application.
0
 

Author Closing Comment

by:Natural_Demon
ID: 31469028
thnx for prompt reply

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question