This works for me:
Add a reference to Microsoft.Office.Interop.Word
Then add this usings:
using Word = Microsoft.Office.Interop.Word;
using Microsoft.Office.Interop.Word;
And finally, use this method:
private List<string> GetDocumentPaths()
{
List<string> Documents= new List<string>();
Word.Application wdapp;
wdapp = (Word.Application)System.Runtime.InteropServices.Marshal.GetActiveObject("Word.Application");
foreach (Document d in wdapp.Documents)
{
Documents.Add(Path.Combine(d.Path,d.Name));
}
return Documents;
}