Wait for Shell script to finish
-
I am writing in VB6 I have a "shell" script in my code that runs a small exe conversion program. Shell "my_exe.exe" I want to pause the subsequent code until this program has time to finishes I have put in a loop A = 100000000 Do While A > 0 A = A - 1 Loop But this is really slow. Does anyone know a better way to code this?
-
I am writing in VB6 I have a "shell" script in my code that runs a small exe conversion program. Shell "my_exe.exe" I want to pause the subsequent code until this program has time to finishes I have put in a loop A = 100000000 Do While A > 0 A = A - 1 Loop But this is really slow. Does anyone know a better way to code this?
A little Google goes a long way toward finding a solution[^] to the problem. VB6 does not have the ability to do this on its own. You have to use the Win32 API to do it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
A little Google goes a long way toward finding a solution[^] to the problem. VB6 does not have the ability to do this on its own. You have to use the Win32 API to do it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
A little Google goes a long way toward finding a solution[^] to the problem. VB6 does not have the ability to do this on its own. You have to use the Win32 API to do it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007and sometimes people still need to ask as they havent got the correct phrase in the google search box i.e. vb6 wait for process to exit would not have been my first choice for a search phrase. :) Martin
life is a bowl of cherries go on take a byte
-
and sometimes people still need to ask as they havent got the correct phrase in the google search box i.e. vb6 wait for process to exit would not have been my first choice for a search phrase. :) Martin
life is a bowl of cherries go on take a byte
And knowing how to do research is the most important skill you can have doing development work.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
And knowing how to do research is the most important skill you can have doing development work.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007ah if only there was a course that told me to use process instead of application or program - sigh!! Martin
life is a bowl of cherries go on take a byte