I need to backup the database i use with my windows form application. Im have written the following code:
Private Sub UltraButton3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UltraButton3.Click
Dim DBPath As String = My.Application.Info.DirectoryPath
FileCopy(DBPath & "C:\Users\Database.accdb", "?")
My problem is the user selects the path to backup and that path goes into textbox1. How do i get the FileCopy function to use this path?