In VB.NET check for changes in a file launched with process.start()

后端 未结 3 1979
春和景丽
春和景丽 2021-01-28 16:59

I\'m developing a vbnet/c#.NET based application that opens files with different applications(excel, word, etc).

The application is launched using Dim app As Proce

3条回答
  •  耶瑟儿~
    2021-01-28 17:32

    There are different approaches for this problem. You can calculate some sort of initial check-sum and see whether your document has any changes by redoing the check-sum and comparing against the original one.

    This part is not very clear from your question, If the document gets saved, probably you can look at the date_modified value of the file to see whether there has been any modifications.

提交回复
热议问题