Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP-Word OLE Syntax
Message
 
 
To
29/08/1999 16:46:53
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00258993
Message ID:
00258996
Views:
15
Hi:

I don't get this problem. For example, this works for me:

oWord=createobject("word.application")
oWord.ChangeFileOpendirectory("C:\")

Can you post the code that does not work for you.

--Paul

>Hi,
>
>What is it that I don't understand, when I create
>oWord = CREATEOBJECT("Word.Application")
>and then try
>
>oWord.ChangeFileOpendirectory()
>
>With no success?
>
>I try with different text configurations inside the
>parantheses, or even without parantheses, with or withour quotes,
>I even tried pairing single and double quotes,
>putting the text (a path string) in a variable and using
>the variable's name instead? I only get errors
>0x8002000f and 0x80020005, or 'Type conflict',
>Syntax error etc.?
>
>Puzzled,
>
>Rolf
Previous
Reply
Map
View

Click here to load this message in the networking platform