how to copy mp3 file from any folder to any folder

vb.net , sqlserver , msaccess India
  • 12 years ago
    i have 2 file dialog i wanna pick any mp3 file by one dialog and copy to another folder specified by other file dialog i used following code MessageBox.Show("select file to copy:") OpenFileDialog2.ShowDialog() filetocopy = OpenFileDialog2.FileName MessageBox.Show("select location to copy:") OpenFileDialog2.ShowDialog() newcopy = OpenFileDialog2.FileName If System.IO.File.Exists(filetocopy) = True Then System.IO.File.Copy(newcopy, filetocopy) MessageBox.Show("One file Successfully copied", "Nadeem@", MessageBoxButtons.OK, MessageBoxIcon.Information) End If help thanks

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” - Martin Fowler