Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word from Foxpro-docproperties doesn't change saveas
Message
 
 
À
15/09/2005 07:44:19
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01049783
Message ID:
01049797
Vues:
10
Try
oDlg = Dialogs(wdDialogFileSaveAs)
oDlg.Name = lcSaveAsName
oDlg.Show()
>
>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform