Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DisplayAlerts still shows something
Message
From
07/07/2001 02:06:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
DisplayAlerts still shows something
Miscellaneous
Thread ID:
00527720
Message ID:
00527720
Views:
62
In Word automation, I have issued DisplayAlerts=.F. However, when opening my file, if that file is already opened, Word fires a message:

'file' is locked for editing

How can I detect that with the Open command without having this to be displayed?
loWord=CREATE('Word.Application')
loWord.DisplayAlerts=.F.
loWord.Documents.Open(lcFile)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform