I used this code to get the DateLastModified from a file in the sharepoint:
Set fso = CreateObject("Scripting.FileSystemObject")
Set objFile = fso.GetFile("\\sharepoint.site.com\Word_File.doc")
XDocument.DOM.selectSingleNode("/my:.....").text = CDate(objFile.DateLastModified)
but after some windows updates I ...