Is there a proper way to determine if a file is in use by another program in C#? I have a kludge right now (namely, rename the file to it's original name), but there must be a better way to determine ...
Public Function CombineCheck(ParamArray Files() As Variant) Set FSO = CreateObject("Scripting.FileSystemObject") Set objOutput = FSO.CreateTextFile(FileNamePath & "combine.txt", True) Dim X As Integer ...