Click here to Skip to main content
12,444,635 members (57,684 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET file
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 8:39am

1 solution

Rate this: bad
 
good
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 [^]
  Permalink  
Comments
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 | Mobile
Web01 | 2.8.160811.3 | Last Updated 6 Jun 2012
Copyright © CodeProject, 1999-2016
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