如何将visual studio中的按钮与其他程序连接! [英] How to connect button in visual studio with other program!

查看:177
本文介绍了如何将visual studio中的按钮与其他程序连接!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!

我的程序存在问题!

我想在按钮上输入代码。

当我点击一楼("Prvi Kat")时,我希望应用程序导航到我的其他程序并运行它。

有可能吗?如果是,怎么样?

这里需要一个小礼物。

谢谢!

这是我的节目的截图,你可以看到什么我的意思是。

Hello!
I have a litlle problem with my program!
I want to type a code on a button.
When I click on first floor( "Prvi Kat" ) I want it to application navigate to my other program and run it.
It is possible? If yes, how?
Need a litlle tut here.
Thank you!
Here is a screenshot of my program soo you can see what I meant.

 

http://imageshack.us/photo/my-images/691/unledtb.jpg/

http://imageshack.us/photo/my-images/691/unledtb.jpg/

推荐答案

嗨Marin,

Hi Marin,

我想知道您的应用程序使用的是哪种语言。此外,如果您特定关键字'program',那将会很好。您是否希望在点击按钮后启动计算器或Windows媒体播放器类型的外部程序?

I wish to know which language you are using for your application.Moreover,it will be nice if you are specific with keyword 'program'.Do you wish to launch calculator or windows media player kind of external programs upon clicking the button?

例如:如果您的语言是C#.net并假设你想运行Internet Explorer,那么下面的代码将对你有帮助。

For example : If your language is C#.net and lets assume you want to run internet explorer,then the following code will help you.

System.Diagnostics.Process.Start("IExplore.exe")



这篇关于如何将visual studio中的按钮与其他程序连接!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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