Unicode Controls & Classes for VB6 - Version 4

clsUniFile.st_CopyFile Function

Copies a file

Syntax
Public Function st_CopyFile (ByRef sFrom As String, _
ByRef sTo As String, _
Optional ByVal bFailIfExists As Boolean = False) As Boolean
Parameters
Parameter Description
ByRef sFrom As String The complete filename with path to copy
ByRef sTo As String The destination filename with path
Optional ByVal bFailIfExists As Boolean = False Specify if the function can overwrite existing destination files ot not; returns True if the operation finished correctly
Remarks