Is there any way to control the window.state of a program that I am opening with the Shell function? For Example:
CODE
sAppName = "TestProg"
sAppPath = "C:\Document and Settings\TestProg.exe"
If IsTaskRunning(sAppName) = False Then
Shell sAppPath, vbNormalFocus
Can I add other parameters to adjust the TestProg to a certain window state and screen location using types such as?
CODE
TestProg.WindowState = vbNormalFocus
TestProg.Top = 6
TestProg.Left = 189
TestProg.Height = 569
TestProg.Width = 770
I can't find any information on this.