FlowFact - Entwicklungstools

zurück

Sub - CopyFile
Datei kopieren

Mit dieser Funktion können Dateien im File System kopiert werden
  Sub CopyFile(ByVal strSource As String, ByVal strDest As String, Optional ByVal bolOverwrite As Boolean)  
 


strSource: Zu kopierende Datei
strDest: Ziel des Kopiervorgangs mit Dateiname
bolOverwrite: vorhandene Datei überschreiben (Optional)


Public Sub CopyFile(ByVal strSource As String, ByVal strDest As String, Optional ByVal bolOverwrite As Boolean)

    m_oFso.CopyFile strSource, strDest, bolOverwrite
End Sub