The code below is my code to backup access file using vb6.0. How can i backup .sql file using vb6.0. Please easier code like this to understand clearly.
Code:
Dim Source, Destination As String
Source = App.Path & "\db_registrar.mdb"
Destination = App.Path & "\Backup\" & Format(Date, "mmmm_dd_yyyy") & "" & Format(Time, "h_mm_ss") & ".mdb"
FileCopy Source, Destination
MsgBox " Backup!", vbInformation, ""
Comment