Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, I need to know where my file go after i use the method CopyTo

My code:

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


I hope someone help me.

Thanks for help.
Posted

1 solution

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 [^]
 
Share this answer
 
Comments
Maciej Los 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900