Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00234061
Message ID:
00234241
Views:
16
James,

VFP doesn't support named arguments like VB/VBA, you have to send the arguments to the methods in the proper order. Check the vbawrd8.hlp file for more info.

>ChangeFileOpenDirectory "C:\"
> ActiveDocument.SaveAs FileName:="test1.rtf", FileFormat:=wdFormatRTF, _
> LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword _
> :="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
> SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
> False
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform