Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creatobject
Message
From
05/06/2001 10:59:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00515106
Message ID:
00515116
Views:
13
>I am trying to open word and a document from within VFP.
>
>When reading about the subject all examples referred to excel, and the following
>code:
>
>oExcel = CreateObject( "excel.application" )
>
>Of course I tried: oWord = CreateObject( "word.application " )
>and I get the error 'Class definition WORD.APPLICATION is not found'
>
>Further reading led me to try: oWord = CreateObject( "word.document" )
>now I am getting the error 'OLE error code 0x80020003:Member not found'.
>
>Can anyone give me any ideas on how to do this?

oWord = createobject("word.application") && Just remove the space
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform