在ButtonClick中打开第三方应用程序

编程入门 行业动态 更新时间:2024-10-24 19:20:43
本文介绍了在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中打开第三方应用程序

本文发布于:2023-11-27 03:33:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1636401.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:第三方   应用程序   ButtonClick

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!