Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call Java program without showing Windows' CMD window
Message
From
20/01/2017 16:49:23
 
 
To
20/01/2017 16:13:12
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01646928
Message ID:
01646929
Views:
57
>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?

If you search the messages here for "ShellExecute" that should get you going.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform