|
Home > Archive > dBASE Windows API > April 2005 > MS Word: Get the file name saved to?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
MS Word: Get the file name saved to?
|
|
| Jan Hoelterling 2005-04-04, 8:04 pm |
| Hi folks,
hope someone can help me with this problem:
From my dBase application, I show a list of templates (Word files) in a
specific location. The user selects one, and that document is opened in MS
Word. Now, when the user saves the document (by default under a new name,
because the current one is read only), I need to somehow catch the file name
that they saved the document to. I was wondering if Word has something like
an "onSave" event and how I might use that to capture the file name that the
document was saved to. Or does anybody have another idea how I might
accomplish this?
Thanks in advance for any ideas!
Jan
| |
| Michael Nuwer [dBVIPS] 2005-04-05, 7:02 am |
| Jan Hoelterling wrote:
> Hi folks,
>
> hope someone can help me with this problem:
>
> From my dBase application, I show a list of templates (Word files) in a
> specific location. The user selects one, and that document is opened in MS
> Word. Now, when the user saves the document (by default under a new name,
> because the current one is read only), I need to somehow catch the file name
> that they saved the document to. I was wondering if Word has something like
> an "onSave" event and how I might use that to capture the file name that the
> document was saved to. Or does anybody have another idea how I might
> accomplish this?
If there is a way to do this, I've not found it. In my application I
have the user choose the template file and enter a "saveAs" name. Then
my code opens the templates and saves the file with the new name.
| |
| Jan Hoelterling 2005-04-05, 8:05 pm |
| Hi Michael,
"Michael Nuwer [dBVIPS]" <nuwermj@no.spam.yahoo.com> wrote in message
news:svrIk%23cOFHA.444@news-server...
> If there is a way to do this, I've not found it. In my application I
> have the user choose the template file and enter a "saveAs" name. Then
> my code opens the templates and saves the file with the new name.
thanks for the suggestion. I had not thought of this approach, it may work
well for me. I'll let you know if I find a solution in Word.
Jan
|
|
|
|
|