Open a Word Word document in a Windows application

I am trying to open an existing Word document that is actually located in a SharePoint library in a Windows application (WinForms).

If I open a document using Internet Explorer, the document is in read-only mode, but I have an β€œEdit document” button in the Word application that I can use to save my document (delete it as read-only).

I tried the following in my Windows application to open a SharePoint document:

System.Diagnostics.Process.Start("http://.../MyFile.docx"); 

This is actually opening my document in Word, but I have a problem. If I open my document using this method, the open document will be in read-only mode, and I do not see the "Edit document" button ... How can I solve this problem?

Thanks,

+4
source share
2 answers

Can I click the "Save As ..." button in Word to get an editable version of the document?

0
source

I think you will need to run ms word (winword.exe) as a program with an argument to open the document.

Take a look at the KB article: http://support.microsoft.com/kb/210565

0
source

All Articles