Click here to Skip to main content
15,907,913 members
Home / Discussions / C#
   

C#

 
GeneralAbt C# message handlers Pin
Priyesh27-Sep-03 20:15
Priyesh27-Sep-03 20:15 
GeneralRe: Abt C# message handlers Pin
leppie28-Sep-03 1:08
leppie28-Sep-03 1:08 
GeneralRe: Abt C# message handlers Pin
Anonymous28-Sep-03 5:29
Anonymous28-Sep-03 5:29 
Generallinkbuttons and web spiders Pin
Member 52585827-Sep-03 19:19
Member 52585827-Sep-03 19:19 
GeneralRe: linkbuttons and web spiders Pin
leppie28-Sep-03 0:51
leppie28-Sep-03 0:51 
QuestionQuestion abount Socket Communication? Pin
JiangHaiLong27-Sep-03 19:12
JiangHaiLong27-Sep-03 19:12 
AnswerRe: Question abount Socket Communication? Pin
Corinna John29-Sep-03 2:33
Corinna John29-Sep-03 2:33 
QuestionHOW Can Run The SQLAGENT WITH Programe? Pin
meetweb27-Sep-03 15:23
meetweb27-Sep-03 15:23 
GeneralStrings in C# Pin
gmhanna27-Sep-03 15:15
gmhanna27-Sep-03 15:15 
GeneralRe: Strings in C# Pin
gmhanna27-Sep-03 15:18
gmhanna27-Sep-03 15:18 
GeneralRe: Strings in C# Pin
J. Dunlap27-Sep-03 15:48
J. Dunlap27-Sep-03 15:48 
GeneralRe: Strings in C# Pin
Daniel M. Edwards27-Sep-03 18:50
Daniel M. Edwards27-Sep-03 18:50 
GeneralRe: Strings in C# Pin
Bo Hunter28-Sep-03 7:32
Bo Hunter28-Sep-03 7:32 
GeneralRe: Strings in C# Pin
Daniel M. Edwards28-Sep-03 8:23
Daniel M. Edwards28-Sep-03 8:23 
GeneralTreeview Question Pin
Shahin7727-Sep-03 11:47
Shahin7727-Sep-03 11:47 
GeneralRegistry Pin
.gonad27-Sep-03 5:49
.gonad27-Sep-03 5:49 
GeneralRe: Registry Pin
Wjousts27-Sep-03 11:58
Wjousts27-Sep-03 11:58 
GeneralRe: Registry Pin
Daniel M. Edwards27-Sep-03 19:10
Daniel M. Edwards27-Sep-03 19:10 
Generalrtf to mark-up Pin
Anonymous27-Sep-03 4:25
Anonymous27-Sep-03 4:25 
GeneralRe: rtf to mark-up Pin
Anonymous27-Sep-03 4:26
Anonymous27-Sep-03 4:26 
GeneralRe: rtf to mark-up Pin
Daniel M. Edwards27-Sep-03 19:24
Daniel M. Edwards27-Sep-03 19:24 
GeneralRe: rtf to mark-up Pin
leppie28-Sep-03 1:00
leppie28-Sep-03 1:00 
GeneralRe: rtf to mark-up Pin
Daniel M. Edwards28-Sep-03 6:14
Daniel M. Edwards28-Sep-03 6:14 
This will break if the bold is inside a cluster of RTF codes yes. The principle is the same though. Remove the \b and insert the <b> after the first space after the \b. For the end tag \b0 look for the \b0 and find the first \ in the cluster of those tags and insert the </b> before it:

Example:

\b\ul Test\b0\uln
\ul <b>Test</b>\uln

NOTE: Although there is no other offical RTF code that I am aware of that starts with \b you might want to check to make sure it really is bold and not the begining of something else. Easiest way is to search for "\b " and "\b\" instead of just "\b". That will find the bold tag if it is on the end of a cluster of RTF codes or in the middle. As for the \b0 you can do the same I guess but I can't imagine an RTF ever starting out with \b0.
Questionhow to call ShellExecute in .NET Pin
bugtwo26-Sep-03 23:35
bugtwo26-Sep-03 23:35 
AnswerRe: how to call ShellExecute in .NET Pin
Nish Nishant27-Sep-03 0:06
sitebuilderNish Nishant27-Sep-03 0:06 

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.