G
Guest
I need to test to see if the user already has an existing WordPerfect
document open. WordPerfect gives the user a read-only warning message but
still allows the user to open a 2nd instance of the file. I need to prevent
this if only by forcing the application to set the focus on the already open
version of the existing document.
My code thus far to open the file looks something like this:
Set wpApp = CreateObject("WordPerfect.PerfectScript")
wpApp.WPActivate
wpApp.AppMaximize
wpApp.FileOpen (stFileName)
Any advice?
document open. WordPerfect gives the user a read-only warning message but
still allows the user to open a 2nd instance of the file. I need to prevent
this if only by forcing the application to set the focus on the already open
version of the existing document.
My code thus far to open the file looks something like this:
Set wpApp = CreateObject("WordPerfect.PerfectScript")
wpApp.WPActivate
wpApp.AppMaximize
wpApp.FileOpen (stFileName)
Any advice?