An easy file copy method in vb.net
FileToCopy = Original file name.
NewCopy = New file to overwrite with.
If System.IO.File.Exists(FileToCopy) = True Then System.IO.File.Copy(FileToCopy, NewCopy, overwrite:=True) End If
An easy file copy method in vb.net
FileToCopy = Original file name.
NewCopy = New file to overwrite with.
If System.IO.File.Exists(FileToCopy) = True Then System.IO.File.Copy(FileToCopy, NewCopy, overwrite:=True) End If