Appeler un outil paar dellphi

nada2008 Messages postés 27 Date d'inscription lundi 28 janvier 2008 Statut Membre Dernière intervention 8 avril 2009 - 24 juin 2008 à 11:45
l0sth34d2 Messages postés 76 Date d'inscription mercredi 21 mars 2007 Statut Membre Dernière intervention 13 novembre 2008 - 24 juin 2008 à 13:57
bonjour tt le monde

comment je peux appeler un outil (logiciel) dans une application delphi


 


merci

1 réponse

l0sth34d2 Messages postés 76 Date d'inscription mercredi 21 mars 2007 Statut Membre Dernière intervention 13 novembre 2008 1
24 juin 2008 à 13:57
uses ShellAPI


ShellExecute(Handle, Operation, FileName, Params, Folder, ShowCmd)


Exemple d'utilisation:

ShellExecute(Form1.Handle, nil, 'c:\windows\notepad.exe', nil, nil, SW_SHOWNORMAL);


Possibilitées de ShowCmd:

SW_HIDE

SW_RESTORE

SW_SHOW

SW_SHOWNA

SW_SHOWNORMAL

SW_SHOWDEFAULT

SW_MAXIMIZE

SW_MINIMIZE

SW_SHOWMAXIMIZED

SW_SHOWMINIMIZED

SW_SHOWMINNOACTIVE

SW_SHOWNOACTIVATE


P.S: Une simple recherche sur le forum aurait pu répondre à ta question.
0
Rejoignez-nous