Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00777580
Message ID:
00777638
Vues:
9
Which error code ShellExecute returns? May be try this procedure instead:
= RunCmd2('notepad', 'c:\myfile.txt')

PROCEDURE RunCmd2(cApp, cParam)
	DECLARE INTEGER WinExec IN kernel32;
		STRING lpCmdLine, INTEGER nCmdShow
	LOCAL nResult
	nResult = WinExec(cApp + " " + cParam, 1)
	IF nResult <= 31
		= MessageBox('WinExec error code: ' + LTRIM(STR(nResult)))
	ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform