在ButtonClick中打开第三方应用程序 [英] open third party Apps in ButtonClick

查看:77
本文介绍了在ButtonClick中打开第三方应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在我的按钮点击中打开第三方应用程序。

例如:打开photoshop,或者在我的表单按钮单击中打开游戏。可能吗?

How can I open a third party app in my Button click.
For Eg: Open photoshop, or a game in my Forms Button Click. Is It Possible?

推荐答案

请看这里:流程类 [ ^ ]但是你可能想用它打开一个文件。通常提供文件名作为参数是足够的(就像你在cmd窗口中那样),但这取决于应用程序本身。



我可以建议首先用记事本测试这个。然后尝试通过提供文件名(包括路径)打开带有记事本的文件,然后检查其他应用程序。



希望这会有所帮助。
Look here: Process class[^] However you probably want to open a file with it. Often it is sufficiant to provide the filename as an argument (as you would do in a cmd window), but that depends on the application itself.

May I suggest to test this first with something like notepad. Then try to open a file with notepad by providing the filename (including the path) and then check other applications.

Hope this helps.


这篇关于在ButtonClick中打开第三方应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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