Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run command
Message
From
12/10/2001 12:29:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/10/2001 12:27:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00567722
Message ID:
00567734
Views:
19
>>Is there a way to keep the DOS window from appearing wher exicuting the run command?
>Steven,
>Use shellexecute instead.
>Cetin
ie:
declare long ShellExecute in "shell32.dll" ;
	long hwnd, string lpszOp, ;
	string lpszFile, string lpszParams, ;
    string lpszDir, long nShowCmd

ShellExecute(0,'','c:\fpd26\foxprox.exe','mytest.prg','c:\fpd26',0)
VFP calling FoxDOS which in turn runs a prg silent.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform