Search results for query: *

  1. G

    obtaining line preceding match, and after, up till another string match

    ahh. ok. apologies. It would only be for a single, specific email address at a time (which the user (me) would put in a search box. No wildcards ( *hotmail.com . Brad*.* )etc. just the data form PersonToSendTo@anotherDomain.com matches (so I can see the times and associated flow when sending...
  2. G

    obtaining line preceding match, and after, up till another string match

    Hi again Skydiver. I would be looking for all occurrences of the email address in the log file. this would run on a separate button push to the Count option (from the other thread). thank you
  3. G

    obtaining line preceding match, and after, up till another string match

    Hello, I am trying to search an IIS log file for a specific email address (inputted by the user @ runtime). I can match the address fine, but what I need to do is grab the preceding lines from the string "0 EHLO - +" and then the all the lines from then up to the same string match. I am lost on...
  4. G

    Search IIS SMTP log file for distinct "from" address' and count

    THANK YOU Skydiver. Dictionary was a great idea, now works some much better. string fname = "test.log", SentEmail = "+FROM:<"; int totalsentcounter = 0, countedEmails =0; foreach (string line in File.ReadLines(fname))...
  5. G

    Search IIS SMTP log file for distinct "from" address' and count

    Hi, I am trying to create a program to read through IIS logs and count the unique "FROM" address, and count how many emails that address has sent. I have done a horrible version of it, based on knowing the emails in the file already, but I am trying to polish this up now but getting reading the...
  6. G

    Backgroundworker failing to execute

    You Sir, are a STAR. This works perfectly. Thank you VERY much
  7. G

    Backgroundworker failing to execute

    Thank you for replying :-) No, I didn't set a breakpoint, I complied the code, and opened the messagbox, but it remained open. You raise a goof point though, and I will try something here to see if it is firing, jut the sendkey is not working. Thankyou
  8. G

    Backgroundworker failing to execute

    Hello, I am trying to get a messagebox to "click" the enter key if left open for a a specified amount of time. I can do this (of a fashion) by using a timer, but the issue is that if there IS user input within the time frame, the key is still"pushed" by the timer (NB: this should not be an...
Back
Top Bottom