Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Control of Word 97
Message
 
À
13/06/1997 10:24:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00036000
Message ID:
00036350
Vues:
66
> >>By the way, I tested the same thing using OLE to control Excel 97, and > the PrintOut method works without any parameters in Excel. > > > >Rick, > > > >You should have read "My short test in Paris has NOT been successfull". > Sorry > >for the mistake. I still miss the exact type and value of the constant > >parameters that should be sent to WINWORD 97. > > > >A workable alternative is to resort to the old wordbasic command set. I > tried > >the wordbasic.fileprint as in : > > > >public ox > >ox=createobject('word.application') > >ox.documents.open("c:\test.doc") > >ox.wordbasic.fileprint > >ox.documents("c:\test.doc").close > >ox.quit > > > >It works clean but it is far cry from total ole control. I should > >like to add mailmerge control from fox (including runtime control of > >datasource).I suppose we need the Book for that ... but where is it ? > > > >François > > Thanks. I tried that also, but without any success. The machine I am > using is new, and came with Word 97 pre-loaded. I have no acces to the > word basic commands with this machine. It's actually missing from the > registry. Since I can get every other OLE command to work properly, I will > install Word 97 on another machine and see if the PrintOut method works > there. Today I noticed a file in the MS file repository at ftp://softlib/mslfiles. The file is JWord8.EXE. According to the .TXT file listing all of the files, this allows Java to talk to Word 8. WHile this may not be exactly what you need, it might be a good place to check. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform