Unicode Controls & Classes for VB6 - Version 4

clsUniFile.st_CopyFile Function

Copies a file

Public Function st_CopyFile (ByRef sFrom As String, _
ByRef sTo As String, _
Optional ByVal bFailIfExists As Boolean = False) As Boolean
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