-
Hi, I need to open and minimize another program. I'm using:
Code:
'Launch File Minimized -> Not Minimizing
lretval = ShellExecute(0, "open", "0327000.exe", "", "D:\Program Files\Solomon IV\AP", SW_MINIMIZE)
'Get Handle
lhwnd = FindWindow(vbNullString, "Vendor Maintenance (03.270.00)")
'Try Again to Minimize -> Not Minimizing
Call Show Window(lhwnd, SW_MINIMIZE)
If I do this to something like Notepad, it works like a charm, but not on this program. What else can I use if a program doesn't respond to the API's that I tried?
Thanks in advance,
Wade
-
You'll be glad to know it looks like it's possible, damn hard but possible, There's a few thing I'm gonna have to iron out but I should get an answer for you.
-
This shoud work with everything
Code:
ShowWindow wnd&, 5 - IsWindowVisible(wnd&) * 5
OR?
-
Heck! Were did that ; come from?!? i typed &) not ;)