Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dde or ole?
Message
De
31/08/1999 15:43:55
 
 
À
31/08/1999 13:25:09
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00259765
Message ID:
00259853
Vues:
13
>experimenting with calling up a Word document from
>a form. have a general field with an inserted object
>(word document in it). This works ok, but word comes
>up minimized. Also, where or how do I add the code
>to run word macros on the document that is opened.
>
>experimented with a command button to use
>createobject("word.basic") and then
>the .FileOpen("file") I hear disk activity as if
>it's doing it, but i never see Word or the file I
>want. Which is the best way to do it?
>
>in 2.6 I used DDE commands which worked well.(?)

ActiveX Automation (formerly called OLE) is definately the way to go. Also, you should use VBA instead of WordBasic.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform