Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie and Word
Message
 
À
08/11/2002 16:41:15
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00720521
Message ID:
00720526
Vues:
10
oWord.Visible=.t.

>Hello Group.
>
>
>Trying to learn office automation.
>This code does not generate an error but does not open the helloworld.doc either.
>
>oWord = CreateObject("Word.Application")
>oDocument = oWord.Documents.Open("c:\HelloWorld.doc")
>
>Once it opened Word with no document and I had to reboot to close Word.
>Word showed up on my computer screen but did not appear in the task manager window.
>
>How do I get to open the document and view it?
>
>Thanks
>Jim
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform