Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
QuestionOverflow, carry, etc i C# Pin
hanzibal226-Mar-13 0:00
hanzibal226-Mar-13 0:00 
AnswerRe: Overflow, carry, etc i C# Pin
Richard MacCutchan26-Mar-13 0:08
mveRichard MacCutchan26-Mar-13 0:08 
GeneralRe: Overflow, carry, etc i C# Pin
Jonathan Nethercott26-Mar-13 0:40
professionalJonathan Nethercott26-Mar-13 0:40 
GeneralRe: Overflow, carry, etc i C# Pin
Richard MacCutchan26-Mar-13 1:03
mveRichard MacCutchan26-Mar-13 1:03 
GeneralRe: Overflow, carry, etc i C# Pin
hanzibal226-Mar-13 2:01
hanzibal226-Mar-13 2:01 
GeneralRe: Overflow, carry, etc i C# Pin
Richard MacCutchan26-Mar-13 2:10
mveRichard MacCutchan26-Mar-13 2:10 
AnswerRe: Overflow, carry, etc i C# Pin
parths26-Mar-13 21:20
parths26-Mar-13 21:20 
GeneralRe: Overflow, carry, etc i C# Pin
hanzibal226-Mar-13 22:56
hanzibal226-Mar-13 22:56 
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 
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 
Richard I really appreciate you pointing me in the right direction, I took another look at my logic and you're right, it didn't make sense. It sounded good in my head, but I drew it out on paper to see what I was actually trying to accomplish and it didn't work. So here's what I did, and I am getting the looping result I am after, and I think I can go from here. Take a look.

same strings as above, plus this, different for each

C#
foreach (string file in settingsFiles)
            {
                IniFile ini = new IniFile(file);
                string settingNum = ini.IniReadValue("info", "settingNumber");

                if (file.Contains(settingNum))
                {
                   
                        MessageBox.Show("This is setting number: " + settingNum);
                        continue;
                }
             }


I have a file call setting.ini and in each I have the category [info] and a generic setting called settingNumber. NOW on form load it does a message box that says "This is setting number: 1, then 2, then 3, then 4. Now to just play with it to do a check to see if the email file exists, if it does, move it, then it will create an email file for each direcotory that contains a settings file. Thanks! This is the best way to learn, being pointed in the right direction, by someone who isn't an a**hole haha. I haven't really had any experiences myself, but sometimes when I use my good friend google, you see some of the responses people give and they are just straight up buttheads. Thanks again :P
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 

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.