Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute strange
Message
From
05/03/2016 05:42:56
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
05/03/2016 05:40:56
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01632548
Message ID:
01632569
Views:
39
>>Hi folks
>>
>>I have a Shellexecute that is different. It gives different result then the same Shellexecute for example from VBA
>>
>>What I do is
>>
>>DECLARE INTEGER ShellExecute ;
>>	    IN SHELL32.DLL ;
>>	    INTEGER nWinHandle,;
>>	    STRING cOperation,;
>>	    STRING cFileName,;
>>	    STRING cParameters,;
>>	    STRING cDirectory,;
>>	    INTEGER nShowWindow
>>?ShellExecute(0, "open", "C:\Program Files (x86)\Git\git-bash.exe", "", "C:\", 1)
>>
>>(comes with git from git-scm.com)
>>
>>What should raise git bash schell
>>
>>it raises it - but two additional windows too.
>>
>>If I do this from VBA I get just the shell window, same as I run the exe directly or any other way.
>>
>>RUN and Ed Rau's api_apprun CreateProcess will fail too.
>>
>>Seems to be something strange on VFP?
>
>Tried in my system, from VFP. Working fine, just one terminal window (and process in the task manager).

what version of git you are using? OS?

TIA
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform