Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy content from A.Doc to B.Doc
Message
De
01/09/2008 02:18:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Copy content from A.Doc to B.Doc
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01343743
Message ID:
01343743
Vues:
59
Hi everyone,

My program as below, but got error.

WORD_FILE = CREATEOBJECT("Word.application")
WITH WORD_FILE
.DOCUMENTS.OPEN( ( "C:\A.DOC" )
MMCONTENT = .DOCUMENTS.CONTENT <<<<---- ERROR
.DOCUMENTS.CLOSE()
.DOCUMENTS.OPEN( ( "C:\B.DOC" )
.DOCUMENTS.CONTENT = MMCONTENT
.DOCUMENTS.SAVE()
ENDWITH

Why i got error in .DOCUMENTS.CONTENT ???
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform