va chez microsoft et cherche l api CreateProcessA
ta fenetre shell doit se lancer viale parametre cmdline$
non seulement ton appli attendra que ta fenetre termine son process avant de poursuivre mais en plus tu sais quand ta fenetre se ferme puisse que il y a passage a la lige suivante
les users type PROCESS_INFORMATION et start.. sont détaillé chez microsoft. ici ce serait trop long sinon pour plus d info jazzyj@ibelgique.com
Public Sub ExecCmd(cmdline$)
'tjs pour cptlink
Dim proc As PROCESS_INFORMATION
Dim start As STARTUPINFO
Dim ret&
Form1.PBar.Value = 9
'Initialize the STARTUPINFO structure:
start.cb = Len(start)