Hi all
i am working in an application where access have to stop for a short delay after another utility program is finished before it continue working. I have checked several pages over the internet icluding tek-tips where some users suggest to use "WaitForSingleObject" but this option apparently works only with the Shell command, means that it will work only when access opens a D.O.S application and wait until it is finished and then the control is passed to access. I need to have the same effect with a Windows application, i am opening excel and doing some calculations and the save and exit but i need access to delay until excel is done.
Thanks in advanced for any suggestions.
i am working in an application where access have to stop for a short delay after another utility program is finished before it continue working. I have checked several pages over the internet icluding tek-tips where some users suggest to use "WaitForSingleObject" but this option apparently works only with the Shell command, means that it will work only when access opens a D.O.S application and wait until it is finished and then the control is passed to access. I need to have the same effect with a Windows application, i am opening excel and doing some calculations and the save and exit but i need access to delay until excel is done.
Thanks in advanced for any suggestions.