Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Office97/Word8
Message
From
02/03/1998 15:53:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Office97/Word8
Miscellaneous
Thread ID:
00082155
Message ID:
00082155
Views:
63
I have a class that talks to Word, or at least it did until Word8. I was aware of the change made from wordbasic to vba and took a look at one of the sample apps with VFP5.0a(service pack 3). However, the following

loWord=createobject('word.basic')

results in "OLE error code 0x80080005: Server exection failed"
sooooo after a lot of what's wrong here I found that in a container object the following

addobject('loWordDoc','olecontrol','word.document') did work and

created an instance of winword in the task list and was happy to response (mostly) to my mixed word6-7/word8 stuff. I just found another sample app in the package that does this also. What gives? Is my office97 installed wrong? MSProject, Excel, and even Access wake up just fine from VFP - just this problem with word.
The sample does show one way to test for word8/word7 by using testing the object.name property.
?puzzled?
Gary
Helping Make Ideas Reality
Next
Reply
Map
View

Click here to load this message in the networking platform