如何从我的表单启动然后控制应用程序的属性? [英] How to start and then control the properties of an application from my form?
问题描述
您好,
我想知道是否有人可以帮我解决实际控制属性(大小,屏幕上的位置,最后是窗口的可见性)的代码我从vb表单打开的窗口。
I was wondering if somebody could help me out with code for actually controlling the properties (size, location on screen and, finally, visibility of window) of a window that I open from the vb form.
到目前为止,我已经得到了这个窗口。我不知道我是如何通过思考这样一个先进的代码来集中精神力量的,希望你们都能理解它! :P
I've got this so far; I have no idea how I mustered up the mental strength to think of such an advanced line of code, hopefully you will all understand it! :P
Private Sub Project_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Process.Start("C:\ProgramData\Example.exe")
End Sub
感谢大家的帮助!
Thanks for the help everyone!
推荐答案
哦,我想控制的最后一件事是打开过程的窗口状态 - 我想要让它无国界。
Oh, and one final thing I'd like to control is the window state of the opened process - I'd like to make it borderless.
非常感谢和10月21日的欢乐!
Thanks so much and Merry 21st of Oct!
这篇关于如何从我的表单启动然后控制应用程序的属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!