diesel6460
Programmer
Hello all. I have a VFP 9 program which calls an EXE to create PDF files and another EXE to zip the numerous PDF files into a single zip file. The EXE's are executed using ShellExecute. This accomplishes the desired result however, each time ShellExecute runs there's a very brief flash of a DOS window which is very unattractive. The syntax is = ShellExecute(0,"OPEN","---.EXE","----params----","",0). The DOS windows that flash on the screen have a header of "c:\windows\system32\cmd.exe". While this action does not effect the ultimate result, it's very distracting to the user considering the program typically makes 500 +/- calls to ShellExecute. Any help will be appreciated.