Hi, I need to open and minimize another program. I'm using: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?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)
Thanks in advance,
Wade




Reply With Quote