Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Output to MS-WORD
Message
De
30/10/1997 16:22:11
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00057020
Message ID:
00057489
Vues:
40
>>There are a few articles in the MS Knowledge base. Go there and search OLE >Automation Good idea. I've searched VB.hlp and particular .hlp files for Word and Excel, but to no avail. The only effect it has is to make me feel like an idiot - when they say OLE, they mean inserted OLE object, or getting an object from another app. It offers GetObject and CreateObject, but doesn't say a word of calling host's methods. >Brett >If you have Word 97 you can do the following to get a list of all >objects in word. >1 start word >2 select tools from menu >3 select macro >4 select visual basic editor >5 from menu select view >6 select object browser This still doesn't give me full hierarchy as seen from my wordapp object. I'm still having trouble trying to send Unicode from VFP into Word97 and/or Excel97. Making an Unicode string from VFP and sending it will get misinterpreted in ow.insert, so I send just simple strings, and have written macros for both Word and Excel which do what I need, but I have to run them manually (i.e. I had to put them into a menu or a toolbar and click there). What's the proper syntax for running a macro on a OLE object? I do this: ow=createobj("word.basic") ow.fileopen("kosta.err") ow.appshow() There's a macro to_uni() in normal.dot I want to run after doing the inserts. How do I run it?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform