Author |
Message |
iker
![](http://compsci.ca/v3/uploads/user_avatars/6313105374b04e31c7b33a.png)
|
Posted: 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?
Description: |
heres a picture of the error |
|
Filesize: |
144.13 KB |
Viewed: |
1882 Time(s) |
![error.JPG error.JPG](uploads/attachments/error_513.jpg)
|
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
wtd
|
Posted: Sun Apr 30, 2006 6:40 pm Post subject: (No subject) |
|
|
You should investigate the My.Computer.FileSystem.MoveFile method.
|
|
|
|
|
![](images/spacer.gif) |
iker
![](http://compsci.ca/v3/uploads/user_avatars/6313105374b04e31c7b33a.png)
|
Posted: Mon May 01, 2006 4:15 pm Post subject: (No 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?
|
|
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Mon May 01, 2006 4:54 pm Post subject: (No subject) |
|
|
Well, VB.Net and C# for .Net are both using the same libraries, so...
|
|
|
|
|
![](images/spacer.gif) |
iker
![](http://compsci.ca/v3/uploads/user_avatars/6313105374b04e31c7b33a.png)
|
Posted: Tue May 02, 2006 7:49 pm Post subject: (No 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?
|
|
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Tue May 02, 2006 7:58 pm Post subject: (No 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".
|
|
|
|
|
![](images/spacer.gif) |
wtd
|
|
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
Posted: Tue May 02, 2006 9:20 pm Post subject: (No 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?
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
wtd
|
Posted: Tue May 02, 2006 9:29 pm Post subject: (No subject) |
|
|
Microsoft is not the only company using C#. Research "Mono" for more information.
|
|
|
|
|
![](images/spacer.gif) |
|