• 0

copy selected file to directory


Question

something pretty simple but Im having a dumb moment.

 

using openfiledialog to give user option to select a file

 

once the choice is made, the program will copy the file to a preprogrammed directory

 

using visual basic 2013

 

example

 

My.Computer.FileSystem.CopyFile(choice ,"folder\files\")

 

 

 

 I have the program set to copy the file to a directory. but I need it to use the file name the user selected in the file dialog. 

 

how do I do this

 

 

 

 

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.