Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DisplayAlerts still shows something
Message
De
07/07/2001 02:06:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
DisplayAlerts still shows something
Divers
Thread ID:
00527720
Message ID:
00527720
Vues:
63
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform