Do you have Office XP? If not modify the code in the link below to look for a previous version of Word and see if this is something like what you intend...it runs Word 10 and waits for it to finish (be closed by the user) before it lets the VFP app continue.
Re: Using Shell Execute Thread #
872416 Message #
872444>Hello Tracy,
>I want to run a do loop to see it is cleared from the process then i can start another program.
>
>because i dont want to run another program when the instance is still in the process(task manager)
>
>Thank you.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"