[英]VB.NET - Starting another windows application in the same solution?
I have two windows applications in the same solution, in different projects. 我在同一解决方案中的不同项目中有两个Windows应用程序。 How do I start one from the other? 如何从另一个开始? Is it a matter of supplying the expected build path .exe to somewhere, or is there an alternative? 是将预期的构建路径.exe提供到某个地方,还是有替代方法?
Call the Process.Start()
, passing the full path of the executable and you should be fine. 调用Process.Start()
,传递可执行文件的完整路径,就可以了。
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx http://msdn.microsoft.com/zh-CN/library/system.diagnostics.process.start.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.