Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
General Field Save as File
Message
From
09/07/2003 14:01:52
 
 
To
08/07/2003 13:04:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00808042
Message ID:
00808604
Views:
17
Thanks! Thread ID: 737898, Message ID: 738011 solved my main issue. The following code allows me to copy the Word docs to disk without opening each one visually...

IF !USED("lettype")
USE lettype
ELSE
SELECT lettype
ENDIF
SCAN
WAIT WINDOW "Refreshing " + ALLTRIM(lettype.letname) + "..." NOWAIT
ThisForm.oWord.Refresh()
ThisForm.oWord.Object.SaveAs(lettype.letname)
ENDSCAN

...where oWord is an OLEBoundControl with lettype.letter (Word doc General Field) as the ControlSource.

Scott
Previous
Reply
Map
View

Click here to load this message in the networking platform