Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation help
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Word Automation help
Miscellaneous
Thread ID:
00192793
Message ID:
00192793
Views:
55
What am I doing wrong here?

oWord = CREATEOBJECT("Word.Application")
oWord.Documents.Open("FileName:='c:\test.doc'")

The document 'Test.Doc' exists and
can be opened from the menu in Word.

When I try it from within VFP, I get
the error "The document name or file
path is not valid"

Anyone have any insight into this?

Thanx
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform