F
Fred Hemmingsen
In a document I capture the 'Document_Close' event.
In this function I automatically save the doc, obtaining
the name and path through 'ThisDocument.FullName'.
The doc is used as a form, normally opened in a frame in
IE (allowing user to fill in information while being
presented other info in another frame).
The capture of the 'Document_Close' event (with save
functionallity) ensures that information in the form is
not lost if the user closes IE or navigates away from the
document. (There are actually two 'forms' in two frames,
with a third frame containing other info)
Problem:
When opening a document stored
localy, 'ThisDocument.FullName' returns what I would
expect (path+name, and all is well).
When opening a document stored on a network-
drive, 'ThisDocument.FullName' returns "Document In
Microsoft Internet Explorer".
When I then close IE, I get an error message informing me
that I can not save a document with the same name as
another open document (they are both named "Document In
Microsoft Internet Explorer", with null path).
How do I get the original path+name, in the document code?
Note: Yes I know this is not the best/nicest way to do
what I want to do. I was handed this well into the
implementation phase, too late to change etc............
Cheers,
Fred
In this function I automatically save the doc, obtaining
the name and path through 'ThisDocument.FullName'.
The doc is used as a form, normally opened in a frame in
IE (allowing user to fill in information while being
presented other info in another frame).
The capture of the 'Document_Close' event (with save
functionallity) ensures that information in the form is
not lost if the user closes IE or navigates away from the
document. (There are actually two 'forms' in two frames,
with a third frame containing other info)
Problem:
When opening a document stored
localy, 'ThisDocument.FullName' returns what I would
expect (path+name, and all is well).
When opening a document stored on a network-
drive, 'ThisDocument.FullName' returns "Document In
Microsoft Internet Explorer".
When I then close IE, I get an error message informing me
that I can not save a document with the same name as
another open document (they are both named "Document In
Microsoft Internet Explorer", with null path).
How do I get the original path+name, in the document code?
Note: Yes I know this is not the best/nicest way to do
what I want to do. I was handed this well into the
implementation phase, too late to change etc............
Cheers,
Fred