Computer Science Canada VC# directory.move error |
Author: | iker [ Sun Apr 30, 2006 10:57 am ] |
Post subject: | VC# directory.move error |
I was wondering if anyone knew how to move some files across volumes. I made a program that will allow for 3 simple clicks to transfer all of my camera's pictures to my computer, and I get an error saying that I can't go across volumes (transfer from the F: drive to the C: drive). I'm using the system.IO and the command directory.move. Is there any other way? |
Author: | wtd [ Sun Apr 30, 2006 6:40 pm ] |
Post subject: | |
You should investigate the My.Computer.FileSystem.MoveFile method. |
Author: | iker [ Mon May 01, 2006 4:15 pm ] |
Post subject: | |
Hmm, can't seem to find out any info in the mdsn library. I've found it for visual basic, but not for visual c#. Can you elaborate on where to find it? |
Author: | wtd [ Mon May 01, 2006 4:54 pm ] |
Post subject: | |
Well, VB.Net and C# for .Net are both using the same libraries, so... |
Author: | iker [ Tue May 02, 2006 7:49 pm ] |
Post subject: | |
Yes, vb and c#, but vc# and c# don't seem to use the same libraries... I'm realy having problems with this, and I can't find anything. Searched the vc# library over 20 times, and there's nothing but the Directory.Move that I have come across. Is there anyway to bypass the error somehow? |
Author: | wtd [ Tue May 02, 2006 7:58 pm ] |
Post subject: | |
"Visual C#" is just another way of saying "C# with Microsoft's libraries". There was no C# prior to Microsoft's obsession with the word "visual". |
Author: | wtd [ Tue May 02, 2006 7:59 pm ] |
Post subject: | |
http://msdn2.microsoft.com/en-us/library/0b485hf7(VS.80).aspx |
Author: | [Gandalf] [ Tue May 02, 2006 9:20 pm ] |
Post subject: | |
![]() There's a C# and a VC#? Isn't C# a Microsoft-only language, hence being known as VC#? Or am I just confused? |
Author: | wtd [ Tue May 02, 2006 9:29 pm ] |
Post subject: | |
Microsoft is not the only company using C#. Research "Mono" for more information. ![]() |