Hello,
I am copying the file from source path to destination path using
FileSource="C:\abc.doc"
FileDest="C:\c1.doc"
FileSystem.FileCopy FileSource, FileDest
first time it works fine as there is no file c1.doc
but if i use it for overwriting file then it is giving me error as permission denied.
can anybody give me the solution for it or tell me how to overwrite file using vb without giving message box of overwriting the file.
I am copying the file from source path to destination path using
FileSource="C:\abc.doc"
FileDest="C:\c1.doc"
FileSystem.FileCopy FileSource, FileDest
first time it works fine as there is no file c1.doc
but if i use it for overwriting file then it is giving me error as permission denied.
can anybody give me the solution for it or tell me how to overwrite file using vb without giving message box of overwriting the file.