Solved

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

Posted on 2008-06-19
2
227 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now