473,396 Members | 2,070 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

execute one program from another

Is it possible to execute one program from another? I don't know if there is
something like "shellexecute..."
Thanks
Carmen
Nov 16 '05 #1
9 2656
The Process class lets you do this.

"carmen" <ce*********@yahoo.es> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Is it possible to execute one program from another? I don't know if there is something like "shellexecute..."
Thanks
Carmen

Nov 16 '05 #2
carmen <ce*********@yahoo.es> wrote:
Is it possible to execute one program from another? I don't know if there is
something like "shellexecute..."


See http://www.pobox.com/~skeet/csharp/faq/#process.start

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #3
I see.... but what type of System.... I must put into the using section? I
get the error "cann't find Process..."
Thank you
"Jon Skeet [C# MVP]" <sk***@pobox.com> escribió en el mensaje
news:MP************************@msnews.microsoft.c om...
carmen <ce*********@yahoo.es> wrote:
Is it possible to execute one program from another? I don't know if there is something like "shellexecute..."


See http://www.pobox.com/~skeet/csharp/faq/#process.start

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 16 '05 #4
Is Process compatible with the compactframework?

"Jon Skeet [C# MVP]" <sk***@pobox.com> escribió en el mensaje
news:MP************************@msnews.microsoft.c om...
carmen <ce*********@yahoo.es> wrote:
Is it possible to execute one program from another? I don't know if there is something like "shellexecute..."


See http://www.pobox.com/~skeet/csharp/faq/#process.start

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 16 '05 #5
carmen <ce*********@yahoo.es> wrote:
I see.... but what type of System.... I must put into the using section? I
get the error "cann't find Process..."


It's in the System.Diagnostics namespace. I'll modify the FAQ to make
it clearer.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #6
The simplest way to find out would probably be to create a simple mobile
test app and try it.

--
--------------------------------------------------------
Peter Wright (www.petewright.org)
Author of ADO.NET Novice To Pro
From Apress. www.apress.com
"carmen" <ce*********@yahoo.es> wrote in message
news:er*************@TK2MSFTNGP09.phx.gbl...
Is Process compatible with the compactframework?

"Jon Skeet [C# MVP]" <sk***@pobox.com> escribió en el mensaje
news:MP************************@msnews.microsoft.c om...
carmen <ce*********@yahoo.es> wrote:
Is it possible to execute one program from another? I don't know if there is something like "shellexecute..."


See http://www.pobox.com/~skeet/csharp/faq/#process.start

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


Nov 16 '05 #7
carmen <ce*********@yahoo.es> wrote:
Is Process compatible with the compactframework?


No - but there's a Process class in the OpenNETCF library which lets
you start other processes. See http://www.opennetcf.org for more
information.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #8
Thanks Jon, I'm going to try OpenNETCF.Desktop.Communication
"Jon Skeet [C# MVP]" <sk***@pobox.com> escribió en el mensaje
news:MP************************@msnews.microsoft.c om...
carmen <ce*********@yahoo.es> wrote:
Is Process compatible with the compactframework?


No - but there's a Process class in the OpenNETCF library which lets
you start other processes. See http://www.opennetcf.org for more
information.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 16 '05 #9
carmen <ce*********@yahoo.es> wrote:
Thanks Jon, I'm going to try OpenNETCF.Desktop.Communication


Well that's for starting a process on a device *from* the desktop. Is
that what you were after? From your other message I thought you meant
you wanted to start another process on the device from code already
running on the device.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: BlackHawke | last post by:
Our program, game program Andromeda Online (www.andromedaonline.net) uses two programs- one to play the game, another to patch the game as updates come out. Players actually launch the updater...
4
by: Fred | last post by:
I have read and tried every combination for hours. I'm sorry, but I don't get it. How do I have a form with textboxes and buttons and allow click events to execute a server function then display...
0
by: Eric Wood | last post by:
We have an application that is accessed using shared drives, client executes program from server. We have already coded the program to create and save the a bat file either locally on the users...
3
by: Lubos | last post by:
Hi, How can i make this. When i maked a program in C# and then when the program is execute on computer without .NET Framework, how can i automaticaly invoke instalation of Framework after execute...
1
by: Eric Wood | last post by:
We have an application that is accessed using shared drives, client executes program from server. We have already coded the program to create and save the a bat file either locally on the users...
2
by: Ronan | last post by:
Hi everybody!!! Does anybody knows how can I run a ".EXE" or ".VBS" program remotely in the same or diferents domains using VB.net? Thanks in advance!!! Ronan
11
by: Jovo Mirkovic | last post by:
I have a simple Form with a Button1 and TextBox1. When I click button, I want execute a Sub procedure with name TextBox1.Text... Is it possible? Thanks, Jovo
2
by: Alexandru Mosoi | last post by:
how do I execute another python script under a different process? I want the script to be run using the same interpretoer as the one running current script. I tried using os.execlp but I don't know...
6
by: moongeegee | last post by:
I have compile my java program as myjava.class. And I can run as "java myjava" without any program. As now, I need to execute myjava.class in javascript. Please shed a light how to execut "java...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.