M
mlsrinivas
Hi,
How to make my vb application wait until MS-WORD completes saving the
active document?
Ours is transcription company and I develop softwares for daily use.
The work flow application I developed is in VB 6.0.
Ms-Word automation is used to interact w/ Word from VB application.
When I use
'wordapp.activedocument.save' from VB sometimes the next line of code
is getting executed before MS-Word completes saving the document. I
used 'DoEvents' w/o much success.
I open word documents on a network drive from VB, process them,save and
close, and rename them.
Sometimes they do not get renamed as the saving is not completed and
sometimes they do not get saved.
Hence I want my application to wait until Word completes saving the
documents.
Any clues?
Thanks
Srinivas
How to make my vb application wait until MS-WORD completes saving the
active document?
Ours is transcription company and I develop softwares for daily use.
The work flow application I developed is in VB 6.0.
Ms-Word automation is used to interact w/ Word from VB application.
When I use
'wordapp.activedocument.save' from VB sometimes the next line of code
is getting executed before MS-Word completes saving the document. I
used 'DoEvents' w/o much success.
I open word documents on a network drive from VB, process them,save and
close, and rename them.
Sometimes they do not get renamed as the saving is not completed and
sometimes they do not get saved.
Hence I want my application to wait until Word completes saving the
documents.
Any clues?
Thanks
Srinivas