?
Solved

Launching another non-win application (fork)

Posted on 2006-06-05
3
Medium Priority
?
218 Views
Last Modified: 2010-04-23
Hello, i'd like to start another non-windows application within my code when we click on a certain button (let's say btn1)


any idea ?
0
Comment
Question by:TheSonics
  • 2
3 Comments
 
LVL 12

Expert Comment

by:gbzhhu
ID: 16833073
what do you mean non-windows?  It has to be Windows app to run in Windows
0
 

Author Comment

by:TheSonics
ID: 16833158
It is running on windows, but not developped by microsoft (not calc, cmd,...)
0
 
LVL 12

Accepted Solution

by:
gbzhhu earned 200 total points
ID: 16833210
It doesn't matter who developed it.  as long as it is an executable running in windows this will start it

            System.Diagnostics.Process.Start(@"C:\somePath\somefile.exe")  

Just change the path in the quotes but leave the @ which is needed so that the backslashes are read literally rather than special character
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

850 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