Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute strange
Message
From
04/03/2016 13:46:57
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
ShellExecute strange
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:
01632548
Views:
98
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?
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]
Next
Reply
Map
View

Click here to load this message in the networking platform