Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call Java program without showing Windows' CMD window
Message
De
23/01/2017 21:12:14
 
 
À
21/01/2017 04:43:10
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01646928
Message ID:
01646972
Vues:
46
>>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.


I've just downloaded it. I'll give it a try.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform