Hello
I have problems with the "shell" command.
With this command, I launch another program which last between 1 and 3 seconds.
First of all, I would like this program to be launched in background instead of masking my B4PPC window.
Then, I would like that my B4PPC program could wait for the program launched by the shell command to be finished. For example, a first image (it is an animated gif) would appear before the shell, and another one just after.
Here is my actual code :
Sub dire
Image1.Image=AppPath & "\image1.gif"
Shell(AppPath & "\ptts.exe" , "-u " & AppPath & "\alice.txt")
Sleep(3000)
Image1.Image=AppPath & "\image2.png"
End Sub
Thank you for your help.