Click here to Skip to main content
15,566,866 members
Home / Discussions / C#
   

C#

 
GeneralRe: work with webBrowser properties? Pin
Adam R Harris14-Jul-09 11:51
Adam R Harris14-Jul-09 11:51 
GeneralRe: work with webBrowser properties? Pin
mr.mohsen14-Jul-09 21:19
mr.mohsen14-Jul-09 21:19 
GeneralRe: work with webBrowser properties? Pin
Adam R Harris14-Jul-09 21:28
Adam R Harris14-Jul-09 21:28 
QuestionRegEx not finding matches ... but it should Pin
Adam R Harris14-Jul-09 10:46
Adam R Harris14-Jul-09 10:46 
AnswerRe: RegEx not finding matches ... but it should Pin
dan!sh 14-Jul-09 20:53
professional dan!sh 14-Jul-09 20:53 
GeneralRe: RegEx not finding matches ... but it should Pin
Adam R Harris14-Jul-09 20:59
Adam R Harris14-Jul-09 20:59 
GeneralRe: RegEx not finding matches ... but it should Pin
dan!sh 14-Jul-09 23:30
professional dan!sh 14-Jul-09 23:30 
GeneralRe: RegEx not finding matches ... but it should Pin
Adam R Harris15-Jul-09 8:36
Adam R Harris15-Jul-09 8:36 
Hello D@nish,

First of all i would like to thank both you and Riced.

I have found the solution to my problem and its still kinda strange.

There was actually two problems;

  1. for some strange reason I cant declare my RegEx string using a literal (using @ when assiging the string) if the literal spans multiple lines, for some reason this is messing with my RegEx.
    Which is why i guess in your example its working.
  2. the emails are being retrieved from Exchange via WebDAV and for some strange reason line breaks are only coming back as '\n' not '\r\n' like they should. So if I do a .Replace("\n","\r\n") on the body everything works fine.
    I guess this wasnt a problem for your in your example because the email body was assigned as a literal and therefore had the "proper" line breaks (\r\n)


Thanks again for your help guys, i never would have found this without your help.

If at first you don't succeed ... post it on The Code Project and Pray.

GeneralRe: RegEx not finding matches ... but it should Pin
dan!sh 15-Jul-09 9:25
professional dan!sh 15-Jul-09 9:25 
GeneralRe: RegEx not finding matches ... but it should Pin
Gideon Engelberth16-Jul-09 5:25
Gideon Engelberth16-Jul-09 5:25 
AnswerRe: RegEx not finding matches ... but it should Pin
riced14-Jul-09 22:15
riced14-Jul-09 22:15 
GeneralRe: RegEx not finding matches ... but it should Pin
Adam R Harris14-Jul-09 22:54
Adam R Harris14-Jul-09 22:54 
GeneralRe: RegEx not finding matches ... but it should Pin
riced14-Jul-09 23:10
riced14-Jul-09 23:10 
GeneralRe: RegEx not finding matches ... but it should Pin
Adam R Harris15-Jul-09 8:24
Adam R Harris15-Jul-09 8:24 
Questioni need an editor control for windows application(C#), do u have? or any idea... Pin
mr.mohsen14-Jul-09 10:31
mr.mohsen14-Jul-09 10:31 
AnswerRe: i need an editor control for windows application(C#), do u have? or any idea... Pin
Rajdeep.NET14-Jul-09 10:39
Rajdeep.NET14-Jul-09 10:39 
AnswerRe: i need an editor control for windows application(C#), do u have? or any idea... Pin
Adam R Harris14-Jul-09 10:53
Adam R Harris14-Jul-09 10:53 
GeneralRe: i need an editor control for windows application(C#), do u have? or any idea... Pin
mr.mohsen14-Jul-09 11:02
mr.mohsen14-Jul-09 11:02 
GeneralRe: i need an editor control for windows application(C#), do u have? or any idea... Pin
Adam R Harris14-Jul-09 11:24
Adam R Harris14-Jul-09 11:24 
GeneralRe: i need an editor control for windows application(C#), do u have? or any idea... Pin
mr.mohsen14-Jul-09 11:36
mr.mohsen14-Jul-09 11:36 
QuestionI have a question Pin
Rajdeep.NET14-Jul-09 9:38
Rajdeep.NET14-Jul-09 9:38 
AnswerRe: I have a question Pin
WebMaster14-Jul-09 9:49
WebMaster14-Jul-09 9:49 
GeneralRe: I have a question Pin
Rajdeep.NET14-Jul-09 10:32
Rajdeep.NET14-Jul-09 10:32 
AnswerRe: I have a question Pin
Not Active14-Jul-09 12:05
mentorNot Active14-Jul-09 12:05 
GeneralRe: I have a question Pin
0x3c014-Jul-09 21:32
0x3c014-Jul-09 21:32 

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.