Click here to Skip to main content
15,890,609 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 8:40
MacRaider410-Feb-11 8:40 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
Luc Pattyn10-Feb-11 8:22
sitebuilderLuc Pattyn10-Feb-11 8:22 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 9:17
MacRaider410-Feb-11 9:17 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
Luc Pattyn10-Feb-11 9:52
sitebuilderLuc Pattyn10-Feb-11 9:52 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
PIEBALDconsult10-Feb-11 8:18
mvePIEBALDconsult10-Feb-11 8:18 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 8:28
MacRaider410-Feb-11 8:28 
AnswerRe: Can you run the same function from two backgroundWorkers Pin
Luc Pattyn10-Feb-11 8:39
sitebuilderLuc Pattyn10-Feb-11 8:39 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 8:51
MacRaider410-Feb-11 8:51 
What's taking so long is I have to search for particular lines in the email and they aren't always in the same order, same line or anything. So I have to search for the messageID, From line, the subject line, the actual text of the email, if there is a attachment and what the name of said attachment could be, then have to watch out for the end of email marker or if I found evenything then I just end it there. So yes there is some regexes in there but I think only a few lines for the one thing I'm looking for (I'd need to go look at that part again to see what it's for).

Though I am doing that line by line, isn't there a way with the streamreader to search for what ever it is you are looking for (lets say I need to find "From: " not "Received: from "). This is why I'm doing it line by line as I'm able to look at the start of the line and determine if that is what I need. This is where I'm writing that "master file" rather than the individual ones.

I could probably skip the write to the csv file and just go straight to the database, but for some reason when I first wrote this 9 months ago I had some problems with something and thus the writing to the csv file (I don't remember what they were).

This is also my first large application in C#, up till 1 1/2 years ago I was mainly doing VB, VBA & Access in M$ land.
AnswerRe: Can you run the same function from two backgroundWorkers Pin
Luc Pattyn10-Feb-11 9:03
sitebuilderLuc Pattyn10-Feb-11 9:03 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
PIEBALDconsult10-Feb-11 9:06
mvePIEBALDconsult10-Feb-11 9:06 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
PIEBALDconsult10-Feb-11 8:55
mvePIEBALDconsult10-Feb-11 8:55 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 9:06
MacRaider410-Feb-11 9:06 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
Luc Pattyn10-Feb-11 9:16
sitebuilderLuc Pattyn10-Feb-11 9:16 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
PIEBALDconsult10-Feb-11 8:48
mvePIEBALDconsult10-Feb-11 8:48 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 9:03
MacRaider410-Feb-11 9:03 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 9:22
MacRaider410-Feb-11 9:22 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
PIEBALDconsult10-Feb-11 9:54
mvePIEBALDconsult10-Feb-11 9:54 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider411-Feb-11 1:27
MacRaider411-Feb-11 1:27 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
PIEBALDconsult11-Feb-11 2:01
mvePIEBALDconsult11-Feb-11 2:01 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider411-Feb-11 2:42
MacRaider411-Feb-11 2:42 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
PIEBALDconsult11-Feb-11 7:19
mvePIEBALDconsult11-Feb-11 7:19 
GeneralRe: Can you run the same function from two backgroundWorkers [modified] Pin
MacRaider411-Feb-11 7:27
MacRaider411-Feb-11 7:27 
QuestionTwo way data binding (DataGridView to SortedList) Pin
Richard MacCutchan10-Feb-11 3:58
mveRichard MacCutchan10-Feb-11 3:58 
AnswerRe: Two way data binding (DataGridView to SortedList) Pin
Eddy Vluggen10-Feb-11 4:16
professionalEddy Vluggen10-Feb-11 4:16 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Richard MacCutchan10-Feb-11 4:27
mveRichard MacCutchan10-Feb-11 4:27 

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.