Click here to Skip to main content
15,887,355 members
Home / Discussions / C#
   

C#

 
GeneralRe: Overflow, carry, etc i C# Pin
harold aptroot26-Mar-13 23:08
harold aptroot26-Mar-13 23:08 
QuestionFile.Move/create just won't work! Pin
Goaty6510925-Mar-13 11:28
Goaty6510925-Mar-13 11:28 
AnswerRe: File.Move/create just won't work! Pin
DaveyM6925-Mar-13 11:58
professionalDaveyM6925-Mar-13 11:58 
AnswerRe: File.Move/create just won't work! Pin
Abhinav S25-Mar-13 16:47
Abhinav S25-Mar-13 16:47 
AnswerRe: File.Move/create just won't work! Pin
Richard MacCutchan26-Mar-13 0:02
mveRichard MacCutchan26-Mar-13 0:02 
GeneralRe: File.Move/create just won't work! Pin
Goaty6510926-Mar-13 3:16
Goaty6510926-Mar-13 3:16 
GeneralRe: File.Move/create just won't work! Pin
Richard MacCutchan26-Mar-13 6:37
mveRichard MacCutchan26-Mar-13 6:37 
GeneralRe: File.Move/create just won't work! Pin
Goaty6510926-Mar-13 8:51
Goaty6510926-Mar-13 8:51 
The loop, I think, has everything to do with the file. How else would I know what email files are in each directory?

For each *email.txt file in the directories specified do this
{
If the file exists in the directory, move it
}
{
If the file does NOT exist, create it
}

^ so for each file it sees in the string, it should be doing this.

So if I have this structure:

(Folder) (Email Exists?)
1 Y
2 Y
3 N
4 N
5 Y

the intent is to move the file from folder 1 to folder 1\Archive, then create a new one, same for folder 2, then folder 3 doesn't have one so it just creates it, nothing to backup there. Repeat for 4. then backup the file in folder 5 to folder 5\Archive.

Hope that helps with my logic.
GeneralRe: File.Move/create just won't work! Pin
Richard MacCutchan26-Mar-13 9:14
mveRichard MacCutchan26-Mar-13 9:14 
GeneralRe: File.Move/create just won't work! Pin
Goaty6510926-Mar-13 18:43
Goaty6510926-Mar-13 18:43 
GeneralRe: File.Move/create just won't work! Pin
Goaty6510926-Mar-13 19:42
Goaty6510926-Mar-13 19:42 
GeneralRe: File.Move/create just won't work! Pin
Richard MacCutchan26-Mar-13 22:42
mveRichard MacCutchan26-Mar-13 22:42 
QuestionI want to add progress bar for ftp download for the following code Pin
Friendsaa25-Mar-13 10:25
Friendsaa25-Mar-13 10:25 
AnswerRe: I want to add progress bar for ftp download for the following code Pin
Abhinav S25-Mar-13 16:50
Abhinav S25-Mar-13 16:50 
AnswerRe: I want to add progress bar for ftp download for the following code Pin
GuyThiebaut25-Mar-13 22:39
professionalGuyThiebaut25-Mar-13 22:39 
QuestionWhat is Jabber client ? Pin
Tridip Bhattacharjee25-Mar-13 9:49
professionalTridip Bhattacharjee25-Mar-13 9:49 
AnswerRe: What is Jabber client ? Pin
Peter_in_278025-Mar-13 10:54
professionalPeter_in_278025-Mar-13 10:54 
AnswerRe: What is Jabber client ? Pin
Dave Kreskowiak25-Mar-13 11:01
mveDave Kreskowiak25-Mar-13 11:01 
GeneralRe: What is Jabber client ? Pin
Tridip Bhattacharjee25-Mar-13 21:27
professionalTridip Bhattacharjee25-Mar-13 21:27 
GeneralRe: What is Jabber client ? Pin
Dave Kreskowiak26-Mar-13 1:44
mveDave Kreskowiak26-Mar-13 1:44 
AnswerRe: What is Jabber client ? Pin
Pete O'Hanlon25-Mar-13 22:40
mvePete O'Hanlon25-Mar-13 22:40 
AnswerRe: What is Jabber client ? Pin
Richard MacCutchan25-Mar-13 23:50
mveRichard MacCutchan25-Mar-13 23:50 
QuestionSerialization and object versioning Pin
Abyss25-Mar-13 9:39
Abyss25-Mar-13 9:39 
AnswerRe: Serialization and object versioning Pin
Eddy Vluggen25-Mar-13 23:31
professionalEddy Vluggen25-Mar-13 23:31 
QuestionHow to do code optimization in c# apps Pin
Tridip Bhattacharjee25-Mar-13 9:30
professionalTridip Bhattacharjee25-Mar-13 9:30 

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.