| Author | 
		Message | 
	
		 
		iker
 
  
 
    
		 | 
		
		
			
				  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: | 
		 2598 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
				
 | 
			 
			
				 | 
			 
		  | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
		 
		Sponsor Sponsor 
		 
  
		 | 
		
 | 
	
	 
		  | 
	
				 
		wtd
 
 
 
    
		 | 
		
		
			
				  Posted: Sun Apr 30, 2006 6:40 pm    Post subject: (No subject)  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				| You should investigate the My.Computer.FileSystem.MoveFile method.
		
 | 
			 
			
				 | 
			 
		  | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
				 
		iker
 
  
 
    
		 | 
		
		
			
				  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?
		
 | 
			 
			
				 | 
			 
		  | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
				 
		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...
		
 | 
			 
			
				 | 
			 
		  | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
				 
		iker
 
  
 
    
		 | 
		
		
			
				  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?
		
 | 
			 
			
				 | 
			 
		  | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
				 
		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".
		
 | 
			 
			
				 | 
			 
		  | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
				 
		wtd
 
 
 
    
		 | 
		
		 | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
				 
		[Gandalf]
 
  
 
    
		 | 
		
		
			
				  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?
		
 | 
			 
			
				 | 
			 
		  | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
		 
		Sponsor Sponsor 
		 
  
		 | 
		
 | 
	
	 
		  | 
	
				 
		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.   
		
 | 
			 
			
				 | 
			 
		  | 
	
	 
		 | 
		
		 | 
	
	
 
		  | 
	
				 
		 |