Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Word from Foxpro-docproperties doesn't change saveas
Versions des environnements
Hi everyone:
I have a foxpro application that creates a word document. within foxpro, i change the "title" of the word document by issuing:
oword.activedocument.builtindocumentproperties("title").value = "newtitle"
now, in word, when the user does "save as", i want the name "newtitle" to be in the dialog box as the title to save it as. It isn't. the save dialog box lists the name as the first couple of words in the document. i check the document properties and the title has been changed to "newtitle", but saveas isn't affected.
I've done some looking into this and found that MS has a workaround by issuing a change to the "dialogs" object, but I can't seem to get that code to work.
Does anyone have any suggestions? Thanks.
Paul
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement