Hello
if i have a command button to with a shell code to run command prompt (dos) then show another form
my questions is how can i delay the second form showing until the dos window closed or finished its run
thanks
Printable View
Hello
if i have a command button to with a shell code to run command prompt (dos) then show another form
my questions is how can i delay the second form showing until the dos window closed or finished its run
thanks
you could try to put an api in a timer and when the caption isn't shown anymore have it open the other form... just an idea
You need to use the CreateProcess and the WaitForSingleObject API functions. Do a forum search for ShellAndWait to find a bunch of examples.
thanks both
i will try api
an searching fourms
:wave: