从另一个执行一个程序 [英] execute one program from another

查看:98
本文介绍了从另一个执行一个程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从另一个程序执行一个程序?我不知道是否有

类似于shellexecute ......

谢谢

Carmen

解决方案

Process类允许你这样做。


" carmen" < CE ********* @ yahoo.es>在消息中写道

news:e8 ************** @ TK2MSFTNGP09.phx.gbl ...

是否可以执行另一个程序?我不知道是否有
类似于shellexecute ......
谢谢
Carmen



carmen< ce ********* @ yahoo.es>写道:

是否可以从另一个程序执行一个程序?我不知道是否有像shellexecute ......这样的东西......




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

Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet

如果回复小组,请不要给我发邮件


我看......但是什么类型的系统....我必须把它放进使用部分?我

得到错误找不到进程...

谢谢

" Jon Skeet [C#MVP ]" < SK *** @ pobox.com> escribióenel mensaje

news:MP ************************ @ msnews.microsoft.c om ... < blockquote class =post_quotes> carmen< ce ********* @ yahoo.es>写道:

是否可以从另一个程序执行一个程序?我不知道
是否有类似shellexecute ...的内容



请参阅 http://www.pobox.com/~skeet/csharp/faq/#process.start

-
Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet
如果回复小组,请不要给我发邮件



Is it possible to execute one program from another? I don''t know if there is
something like "shellexecute..."
Thanks
Carmen

解决方案

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



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


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



这篇关于从另一个执行一个程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆