Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 VC# directory.move error
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
iker




PostPosted: 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?


error.JPG
 Description:
heres a picture of the error
 Filesize:  144.13 KB
 Viewed:  1883 Time(s)

error.JPG


Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Sun Apr 30, 2006 6:40 pm   Post subject: (No subject)

You should investigate the My.Computer.FileSystem.MoveFile method.
iker




PostPosted: 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?
wtd




PostPosted: 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...
iker




PostPosted: 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?
wtd




PostPosted: 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".
wtd




PostPosted: Tue May 02, 2006 7:59 pm   Post subject: (No subject)

http://msdn2.microsoft.com/en-us/library/0b485hf7(VS.80).aspx
[Gandalf]




PostPosted: Tue May 02, 2006 9:20 pm   Post subject: (No subject)

Thinking
There's a C# and a VC#? Isn't C# a Microsoft-only language, hence being known as VC#? Or am I just confused?
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Tue May 02, 2006 9:29 pm   Post subject: (No subject)

Microsoft is not the only company using C#. Research "Mono" for more information. Smile
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: