Click here to Skip to main content
15,918,471 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Times Pin
Luc Pattyn28-Feb-10 12:33
sitebuilderLuc Pattyn28-Feb-10 12:33 
AnswerRe: C# Times Pin
David Skelly28-Feb-10 22:27
David Skelly28-Feb-10 22:27 
Questionmove a file from one directory to another Pin
Yustme28-Feb-10 12:15
Yustme28-Feb-10 12:15 
AnswerRe: move a file from one directory to another Pin
Luc Pattyn28-Feb-10 12:34
sitebuilderLuc Pattyn28-Feb-10 12:34 
GeneralRe: move a file from one directory to another Pin
Yustme28-Feb-10 12:57
Yustme28-Feb-10 12:57 
AnswerRe: move a file from one directory to another Pin
Luc Pattyn28-Feb-10 13:09
sitebuilderLuc Pattyn28-Feb-10 13:09 
GeneralRe: move a file from one directory to another [modified] Pin
Yustme28-Feb-10 22:35
Yustme28-Feb-10 22:35 
GeneralRe: move a file from one directory to another Pin
Yustme1-Mar-10 0:09
Yustme1-Mar-10 0:09 
Luc Pattyn,

I fixed the problem. I found this site:

http://www.devnewsgroups.net/dotnetframework/t1557-file-move-file-copy-exception.aspx[^]

And: Jacky Kwok's reply to someone else's post did the trick.

But I don't quite understood what he said. A quote from what I mean:

[quote]
The "BackUpPath" in both "Copy" and "Move" in your code are directory only.
However, the "File.Copy" and "File.Move" require it is filename.
[/quote]


If I understand this correctly, File.Move wants in both arguments a File name like this:

File.Move(file1, file2);

Isn't that odd? I'm trying to move a file from one directory to another. But here, you're moving a file to another file?
GeneralRe: move a file from one directory to another Pin
Luc Pattyn1-Mar-10 0:56
sitebuilderLuc Pattyn1-Mar-10 0:56 
GeneralRe: move a file from one directory to another Pin
Yustme1-Mar-10 3:05
Yustme1-Mar-10 3:05 
GeneralRe: move a file from one directory to another Pin
Yustme1-Mar-10 12:09
Yustme1-Mar-10 12:09 
Questionhelp with threads and locks [modified] Pin
codeguruk28-Feb-10 9:23
codeguruk28-Feb-10 9:23 
AnswerRe: help with threads and locks Pin
Saksida Bojan28-Feb-10 19:50
Saksida Bojan28-Feb-10 19:50 
Generalthis is the code i use to check it: Pin
codeguruk28-Feb-10 21:09
codeguruk28-Feb-10 21:09 
GeneralRe: this is the code i use to check it: Pin
Saksida Bojan28-Feb-10 22:42
Saksida Bojan28-Feb-10 22:42 
GeneralRe: this is the code i use to check it: Pin
codeguruk1-Mar-10 2:08
codeguruk1-Mar-10 2:08 
GeneralRe: this is the code i use to check it: Pin
Saksida Bojan1-Mar-10 3:21
Saksida Bojan1-Mar-10 3:21 
GeneralRe: this is the code i use to check it: Pin
codeguruk1-Mar-10 5:41
codeguruk1-Mar-10 5:41 
Questionhow could I print search result in a form with a data grid view? Pin
ronakT28-Feb-10 8:48
ronakT28-Feb-10 8:48 
AnswerRe: how could I print search result in a form with a data grid view? Pin
Dan Mos28-Feb-10 9:28
Dan Mos28-Feb-10 9:28 
GeneralRe: how could I print search result in a form with a data grid view? Pin
ronakT1-Mar-10 0:20
ronakT1-Mar-10 0:20 
QuestionDiscovering what a registry value is stored as Pin
Carl Mailey28-Feb-10 8:13
Carl Mailey28-Feb-10 8:13 
AnswerRe: Discovering what a registry value is stored as Pin
Richard MacCutchan28-Feb-10 9:00
mveRichard MacCutchan28-Feb-10 9:00 
AnswerRe: Discovering what a registry value is stored as Pin
Luc Pattyn28-Feb-10 11:15
sitebuilderLuc Pattyn28-Feb-10 11:15 
AnswerRe: Discovering what a registry value is stored as Pin
Saksida Bojan28-Feb-10 20:19
Saksida Bojan28-Feb-10 20:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.