Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Done with Excel; Need help with Word OLE Automation now
Message
 
À
18/11/1998 08:44:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00158701
Message ID:
00158740
Vues:
21
>I'm having trouble with the following snippet:
>
>goword = createobject('word.application')
>goword.application.visible = .f.
>goword.documents.open("c:\jmb\autlanda.doc")
>goword.activedocument.printout
>
>Everything is just jim-dandy until it hits the line:
>
>goword.activedocument.printout
>
>At that point, I get a 'type mismatch' OLE error? Do any of you gurus know what is going on? This lowly peon would sure appreciate yet another bit of wisdom!

Check out the samples on my website, they should help.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform