链接单独的VB应用程序 [英] LINKING SEPARATE VB APPLICATIONS

查看:46
本文介绍了链接单独的VB应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够在表单上添加一个按钮,单击该按钮会将您带到已经运行的另一个vb应用程序.
有人可以帮我吗?
我的目标是最小化几个独立的应用程序,并能够通过单击单独应用程序上具有相应名称的按钮来访问特定的命名应用程序,例如excel中的超链接.

I want to be able to add a button on a form that when clicked takes you to another vb application that is already running.
Can someone help me?
My objective is to have several independent applications running minimized and be able to access a particular named application by clicking a button with corresponding name on a separate application, like a hyperlink in excel.

推荐答案

您可以使用 FindWindow [ ^ ]搜索当前正在运行的应用程序.有了它,您就可以激活窗口.
You can use FindWindow[^] to search for the currently running application. Once you have that you can activate the Window.


这篇关于链接单独的VB应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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