
-----------------------------------
iker
Sun Apr 30, 2006 10:57 am

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?

-----------------------------------
wtd
Sun Apr 30, 2006 6:40 pm


-----------------------------------
You should investigate the My.Computer.FileSystem.MoveFile method.

-----------------------------------
iker
Mon May 01, 2006 4:15 pm


-----------------------------------
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?

-----------------------------------
wtd
Mon May 01, 2006 4:54 pm


-----------------------------------
Well, VB.Net and C# for .Net are both using the same libraries, so...

-----------------------------------
iker
Tue May 02, 2006 7:49 pm


-----------------------------------
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?

-----------------------------------
wtd
Tue May 02, 2006 7:58 pm


-----------------------------------
"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".

-----------------------------------
wtd
Tue May 02, 2006 7:59 pm


-----------------------------------
http://msdn2.microsoft.com/en-us/library/0b485hf7(VS.80).aspx

-----------------------------------
[Gandalf]
Tue May 02, 2006 9:20 pm


-----------------------------------
:think: 
There's a C# and a VC#? Isn't C# a Microsoft-only language, hence being known as VC#?  Or am I just confused?

-----------------------------------
wtd
Tue May 02, 2006 9:29 pm


-----------------------------------
Microsoft is not the only company using C#.  Research "Mono" for more information.  :)
