by driessen » Wed Apr 15, 2009 10:47 pm
Enrico,
WaitRun() is not solution.
I want to open files.
Examples :
ShellExecute(,"Open","TEST.PDF")
ShellExecute(,"Open","TEST.XLS")
ShellExecute will open Adobe Acrobat automatically, without having to know the exact path where the reader can be found.
If I use WaitRun(), I have to know the exact path of the reader.
Why do I want my application to wait ?
In my application a database is available, containing all the documents in the system. If a document is opened, a parameter is set to .T., so that other users can't open this document too.
If the document is closed, the parameter is set back to .F. so that it is available again to other users.
But thanks anyway.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773