Save location help

E

Exolit

Hi,

When you create document from document template in the SharePoint document
library, Word application knew where to save document. Save As dlg window
open http location to the document library.

Question is:
Is it possible to get this save location url from word object model before
document is saved and if yes how?


Thanks for all answers
 
P

Peter Karlström

Hi

You can use ActiveDocument.Fullname which consist of filename and full path.

Regards
 
E

Exolit

Hmm hi Peter,

Yes that is correct, but in case when you didn't save document,
ActiveDocument.FullName is "Document1" and ActiveDocument.Path is empty. Some
property in word must have correct save location because when I click on
Save button I get my SharePoint document library as proposal saving location.
 
U

uhs

Hello
I am looking for the same information.
How to set location on "Save As" dialogbox programtically -i..e my
computer,my network place,desktop etc.

i think by changing registry it can be done but it becomes static for all.

dialog=Application.Dialogs[Word.WdWordDialog.wdDialogFileSave]
I am not sure if 'Dialog' class has property to set location.



Let me know if it is doable. (C# .net 2.0)
regards,
UHS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top