General information
Category:
Coding, syntax & commands
Title:
Using getfile() to select Word 97 document
I am trying to select a Word document with getfile() and pass the selected filename to word. What am I doing wrong?
cDocName=getfile()
ox=createobject('word.document')
ox.application.documents.open(cDocName) => this line produces "Member documents does not evalutate to an object"
Also where is a good reference for Word automation from VFP 6?
Thanks in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only