Results 1 to 2 of 2

Thread: intstaller prog problem...

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    3

    Exclamation intstaller prog problem...

    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...

    Code:
    Private Sub Form_Load()
    Dim installer As New FileSystemObject
    direktory = frmlocation.txtlocation.Text
    installer.CopyFile App.Path & "\data\*.wp*", direktory, True
    End Sub
    Hope someone can help, it's driving me mad!

    Thanks

    G

  2. #2

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    3

    hrrmmm

    wow!, this thread is popular!!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width