Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: Getting clock time from NIST Pin
Sathesh Sakthivel31-May-07 18:25
Sathesh Sakthivel31-May-07 18:25 
GeneralRe: Getting clock time from NIST Pin
PIEBALDconsult31-May-07 18:30
mvePIEBALDconsult31-May-07 18:30 
GeneralRe: Getting clock time from NIST Pin
Sathesh Sakthivel31-May-07 18:33
Sathesh Sakthivel31-May-07 18:33 
GeneralRe: Getting clock time from NIST Pin
M. J. Jaya Chitra31-May-07 18:34
M. J. Jaya Chitra31-May-07 18:34 
GeneralRe: Getting clock time from NIST Pin
Sathesh Sakthivel31-May-07 18:38
Sathesh Sakthivel31-May-07 18:38 
GeneralRe: Getting clock time from NIST Pin
M. J. Jaya Chitra31-May-07 19:30
M. J. Jaya Chitra31-May-07 19:30 
QuestionExperiment -- Looking for suggestions Pin
simplicitylabs31-May-07 17:26
simplicitylabs31-May-07 17:26 
AnswerRe: Experiment -- Looking for suggestions Pin
Martin#31-May-07 20:05
Martin#31-May-07 20:05 
Hello,

simplicitylabs wrote:
but not

Maybe it's because of the " chars, try:

You also could simplify your regex like this:
@"(\<.*\>)"

Apart from that I would suggest you to use the String class methods for this kind of simple validation (IndexOf).
I now that regex is extremely powerfull, but it's also very expensive in terms of perfomance.
Shortly I made a performance test because I had to validate a lot of strings very often in my application.
I found out that using 3 IndexOf instead of a regex was much faster (more than 100 times faster).

simplicitylabs wrote:
Another strange behavior is it won't let me edit the colored tags once they have been "colorized".

I think it's not strange at all, as you are explicitly forcing it with: richTextBox1.SelectionProtected = true;

Hope it helps!

All the best,

Martin
QuestionHow to terminate a login session if disconnected from internet Pin
fukchai200031-May-07 16:29
fukchai200031-May-07 16:29 
AnswerRe: How to terminate a login session if disconnected from internet Pin
Dave Kreskowiak31-May-07 17:26
mveDave Kreskowiak31-May-07 17:26 
GeneralRe: How to terminate a login session if disconnected from internet Pin
fukchai200031-May-07 21:42
fukchai200031-May-07 21:42 
GeneralRe: How to terminate a login session if disconnected from internet Pin
Dave Kreskowiak1-Jun-07 4:25
mveDave Kreskowiak1-Jun-07 4:25 
QuestionXML over serial port Pin
sklepikov31-May-07 13:40
sklepikov31-May-07 13:40 
AnswerRe: XML over serial port Pin
Christian Graus31-May-07 13:57
protectorChristian Graus31-May-07 13:57 
GeneralRe: XML over serial port Pin
sklepikov1-Jun-07 3:44
sklepikov1-Jun-07 3:44 
QuestionGive Access to Certificate in Store Pin
mikker_12331-May-07 13:02
mikker_12331-May-07 13:02 
AnswerRe: Give Access to Certificate in Store Pin
blackjack215031-May-07 23:55
blackjack215031-May-07 23:55 
GeneralRe: Give Access to Certificate in Store PinPopular
mikker_1231-Jun-07 0:23
mikker_1231-Jun-07 0:23 
GeneralRe: Give Access to Certificate in Store Pin
DotNet_Naeem2-Sep-09 13:49
DotNet_Naeem2-Sep-09 13:49 
GeneralRe: Give Access to Certificate in Store Pin
SHUBHAM SHARMA6-May-18 19:51
SHUBHAM SHARMA6-May-18 19:51 
Questionhow to access protected-pass folder Pin
alex.almeida31-May-07 12:26
alex.almeida31-May-07 12:26 
AnswerRe: how to access protected-pass folder Pin
mikker_12331-May-07 13:12
mikker_12331-May-07 13:12 
GeneralRe: how to access protected-pass folder Pin
alex.almeida1-Jun-07 2:28
alex.almeida1-Jun-07 2:28 
AnswerRe: how to access protected-pass folder Pin
Dave Kreskowiak31-May-07 13:29
mveDave Kreskowiak31-May-07 13:29 
GeneralRe: how to access protected-pass folder Pin
Christian Graus31-May-07 13:30
protectorChristian Graus31-May-07 13: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.