Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp and word
Message
 
To
13/10/2000 04:53:41
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00428455
Message ID:
00440989
Views:
25
I'm having problems with getting Word to do
anything via VFP. I'm using Word 6.

I keep getting a "Member Not Found" error
for example

********

loAppSearch=CREATEOBJECT("Word.document.6")
AppSearch=loAppSearch.FileSearch

* or

*******
ox = createobject("word.document")
With OX
mydoc = .Document.Add
EndWith
MyDoc.SaveAs FileName:="C:\Temp.doc"

********
* or

ox = createobject("word.document")
ox.FilePageSetup.PaperSize = 'Letter'

***
All which seem like simple routines but I can't get
them to work. CreateObject seems to be working
but as soon as I try to do something I get a
Ole Exception error 0x80030003 Member not found

Seems like something simple needs to be set to
get this going but I can't figure it out.

Any help would be appreciated.

Regards - D.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform