C
Carsten
Hello Office KB users
I have a task that sounds very simple. Get the full location of a Word2007
document BEFORE its saved to the sharepoint library.
All path, location and URL properties except the Template path are empty at
this time, as the document is not saved yet!
But if you click the Save As menu, Word seams to go and query the Server for
information, and gets the document library location, including the location
within folders. and thus providing a very simple way of just typing the
filename and pressing save.
Once the document is savet its very easy to get the location like
string pathOfCreation = myActiveDocument.SharedWorkspace.SourceUrl;
So how do I get this value BEFORE its saved, and what happens when word
writes "Contacting Server for Information...." in the status bar. Can this
action be utilized?
Please help
/regards Carsten Nielsen
I have a task that sounds very simple. Get the full location of a Word2007
document BEFORE its saved to the sharepoint library.
All path, location and URL properties except the Template path are empty at
this time, as the document is not saved yet!
But if you click the Save As menu, Word seams to go and query the Server for
information, and gets the document library location, including the location
within folders. and thus providing a very simple way of just typing the
filename and pressing save.
Once the document is savet its very easy to get the location like
string pathOfCreation = myActiveDocument.SharedWorkspace.SourceUrl;
So how do I get this value BEFORE its saved, and what happens when word
writes "Contacting Server for Information...." in the status bar. Can this
action be utilized?
Please help
/regards Carsten Nielsen