[RESOLVED] Remove temp document
Hi guys :wave:
In my desktop, I have folder containing some word document files. I want the filenames of the documents in that folder. So, I used:
Code:
Dim strFiles() As String = IO.Directory.GetFiles("X:\Documents and Settings\XXX\Desktop\vvvvv", "*.doc")
All filenames are stored in that array.
But it would also include the temp document that Word generates. I am somewhat confused on how to remove this from array. I only need full filenames of the actual documents, which excludes the temp document.
Any ideas ?
Thanks in advance :wave: