Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to suppress the DOS prompt
Message
De
22/12/2004 12:11:22
 
 
À
21/12/2004 22:50:22
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00971249
Message ID:
00971477
Vues:
25
I have tried to reproduce your problem without the benefit of the clipper executable. In my example I have created a bat file with the content:
notepad.exe
I then execute the bat file with the nShowCmd parameter set to 0
DECLARE INTEGER ShellExecute   IN shell32.dll;
		INTEGER hWnd,;
		STRING    @ lpOperation         ,; 
		STRING    @ lpFile,;
		STRING    @ lpParas,;
		STRING    @ lpDir,;
		INTEGER   nShowCmd
RetVal = ShellExecute(0,'open','C:\tmp\np.bat', '','',0)
This brings up Notepad without the DOS window.

HTH

Alan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform