Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Word automation
Message
 
 
To
09/12/2003 15:38:43
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00857378
Message ID:
00857392
Views:
31
Hi Stephen

So you are saying that the following code runs with out error
oWord = CreateObject("Word.Application") 
oDocument = oWord.document.open("name of document")
oWord.Application.Visible = .T.
but if you then execute the following
? oDocument.Name
you get the error?

What are you passing to the open method?
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform