Help - Passing a Default Directory to Word from VFP
Help - Passing a Default Directory to Word from VFP
(OP)
I use the run command from within VFP to use Word (RUN /N C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\WINWORD.EXE) and I would like to be able to set the default directory that Word uses to open and save files to be the directory name contained within a variable in VFP. For example - I have a variable within VFP that contains C:\AUDITS, how can I call up Word (from within VFP) and have it's default directory (where it looks for files when you issue FILE, OPEN) automatically changed from C:\MY DOCUMENTS to C:\AUDITS?
RE: Help - Passing a Default Directory to Word from VFP
For your purposes, would invoking Word via COM be sufficient? You'll have very fine control of everything.
Robert Bradley
FoxDev - Visual FoxPro Development