Hello,
I am working on encryption/decrypt Logic based program. The requirement is such that I have launch required document/image thr' VB, so I am using WshShell.Run to lauch the required App.
WshShell.Run has an argument blnWaitOnReturn, I am keeping this True since I want to know when user finishes editing lauched document/image etc. This works fine if the application required by the document for e.g. Word is not already running. If its running for some other document etc , blnWaitOnReturn has no effect.
The control is immediately returned to the calling program and my purpose is defeated , infact creating other problems.
I am locking the my program when user lauches some document and enabling same when he is back to application closing the lauched application.
This does not happen if suppose Word is already opened and I am lauching thr' my program.
Can anyone help in this , any guidance, suggestions appreciated.
I am using VB 6.0 on Win98/Win2k, I registed wshom.ocx , version 5.0.531.7.
Launching applications like Word, Excel, Adobe Acrobat Writer/Reader etc.
Regards
[Sham]