Link to home
Start Free TrialLog in
Avatar of FireStarterXoX
FireStarterXoX

asked on

Copying Files...

On my app I have 2 textboxes and a button. The button copies the specified file from textbox1 to textbox 2. Textbox 2 should show the folder in which the user wants the file in. How do I make the button actually do this operation?
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Simply like this:
FileCopy textbox1.text, textbox2.text

Avatar of paulstamp
paulstamp

Can you clarify what you want ? ie are you lookinf just for the absolute path to where you've copied the file to, or do you just want to copy the file as in angelIII's example ?
Or do you mean that text2 is actually linked to a "browse for folder" style-dialog so that user can specify he wants to copy the file from one folder to another ?
ASKER CERTIFIED SOLUTION
Avatar of monteh
monteh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial