>Hello, I have a program that has to comunicate via a Java program that communicates with a web service by sending an XML file. I have to do this:
>
>
>
>RUN java DHLClient.java "c:\requests\XmlRequestFile.xls" "https://xmlpi-ea.mySupplier.com/XMLmySupplierServlet" "c:\responses\ResponseXML.xml"
>
>
>It shows me a windows with a black background, which, I suppose, is the cmd window, and after processing the file it closes automatically.
>
>What I want is NOT to show that window and, instead, show a message with something like a WAIT WINDOW command.
>
>Is there a way to call that command without showing a black CMD or Java window?
There's a good wrapper around the ShellExecute() call, written long ago by late Ed Rauh - search the downloads here for api_apprun. One of the parameters sets the run mode to invisible. It also has a choice of just running the app or to run it and wait until it completes - depending on what you need.