Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy content from A.Doc to B.Doc
Message
From
01/09/2008 02:18:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Copy content from A.Doc to B.Doc
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01343743
Message ID:
01343743
Views:
57
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 ???
Next
Reply
Map
View

Click here to load this message in the networking platform