Can this be done if so how
OK i need to be able to let the user click a button to open a filedilag then the browse to theflie/folder they want and hit ok. that will the bring up another one asking where they want to put it.
bassically it asks a user whatfile they want and where to copy it to.
pls help
tayspen
<Insert title here>
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
openFileDialog1.ShowDialog();
string fileToOpen = openFileDialog1.FileName;
saveFileDialog1.ShowDialog();
string whereToSave = saveFileDialog1.FileName;
i want the whole folde not just one specific thing...that cant do it
tayspen
<Insert title here>
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
i tried this
folderBrowserDialog1.ShowDialog();
string folderOpen = folderBrowserDialog1.SelectedPath;
folderBrowserDialog2.ShowDialog();
string folderSave = folderBrowserDialog2.SelectedPath;
File.Copy(folderBrowserDialog1.SelectedPath, folderBrowserDialog2.SelectedPath);
and it gives me an error sayiing that it is a directory not file
tayspen
<Insert title here>
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
thats because that command is for copying files not directories, you should copy each file in the directory individualy
so u dont know of any code that will copy the directory
tayspen
<Insert title here>
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
tayspen
<Insert title here>
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
i would like to know hot to let teh user decide what drive they want. i am developing aa program hat will rip teh music off an ipod. and as u may or may not no the ipod, depending on te computer changes drive letters. i would like to let the user choose. also i would like to have teh select rip music then the *.mp3 are ripped from the ipod control folder/music. How would i do this. Thanks
tayspen
<Insert title here>
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99