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:30:17
 
 
À
01/09/2008 02:18:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01343743
Message ID:
01343745
Vues:
17
>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 ???

Documents is a container.
MMCONTENT	= .Documents(1).content
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform