I am in the process of making a simple installing program that simply copies files from the folder where the executable is to a directory that is specified by the user. The problem I have is, how do I get Vb to use the user specified folder path?. Here is the code i have made, obviously i get a type mismatch error because I have not entered a hardcoded string...
Hope someone can help, it's driving me mad!Code:Private Sub Form_Load() Dim installer As New FileSystemObject direktory = frmlocation.txtlocation.Text installer.CopyFile App.Path & "\data\*.wp*", direktory, True End Sub
Thanks
G


Reply With Quote
