Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN command
Message
 
To
18/05/2004 11:47:19
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00904937
Message ID:
00904978
Views:
23
Mike,
there's a setting in CreateProcess that will make it invisible. Try something like this:
process_info = REPLICATE(CHR(0), 16)
START = this.long2str(68) + REPLICATE(CHR(0), 40)+this.long2str(1)     
         +this.long2str(0)+REPLICATE(CHR(0), 16)
* execute the batch file
File2Run = THIS.cAppStartPath+[temp.cmd] + CHR(0)
RetCode = CreateProcess(0, File2Run, 0, 0, 1, ;
	NORMAL_PRIORITY_CLASS, 0, 0, @START, @process_info)
>This still pops up the black shell screen for a second. Is there any way to avoid that?
Previous
Reply
Map
View

Click here to load this message in the networking platform