Click here to Skip to main content
13,259,194 members (51,071 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi, I need to know where my file go after i use the method CopyTo

My code:

Dim file = New FileInfo(ficheiro)
fileficheiro.CopyTo(Path.Combine(Form1.musicpath, file.Name), True)

I hope someone help me.

Thanks for help.
Posted 6-Jun-12 9:39am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Either case, check your file at the following location: Form1.musicpath

Though it looks like you are using File.CopyTo, yet sharing two links:
MSDN: FileInfo.CopyTo Method (String)[^]
MSDN: File.CopyTo Method [^]
losmac 6-Jun-12 18:28pm
Good answer, my 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171114.1 | Last Updated 6 Jun 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100