Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Saving word document
Message
De
16/04/2001 03:27:40
 
 
À
16/04/2001 02:40:32
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00495708
Message ID:
00495710
Vues:
21
Well I read the article properly and changed the save as line to

loWord=CREATEOBJECT("Word.Application")
loWord.visible=.t.
loDocument = loWord.Documents.Add()
loSelection = loWord.Selection
loSelection.TypeText("hello")
&&loDocument.SaveAs("hello")
loWord.WordBasic.FileSaveAs("hello")

and that works.

Nick Mason
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform