Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP-Word OLE Syntax
Message
 
À
29/08/1999 16:46:53
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00258993
Message ID:
00258996
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform