Click here to Skip to main content
15,887,776 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: how to call ShellExecute in .NET Pin
bugtwo27-Sep-03 0:35
bugtwo27-Sep-03 0:35 
GeneralMulty form question Pin
Jasper4C#26-Sep-03 22:58
Jasper4C#26-Sep-03 22:58 
GeneralRe: Multy form question Pin
Saikat Sen27-Sep-03 12:21
Saikat Sen27-Sep-03 12:21 
GeneralRe: Multy form question Pin
I G 19827-Sep-03 19:17
I G 19827-Sep-03 19:17 
GeneralRe: Multy form question Pin
Jasper4C#27-Sep-03 23:16
Jasper4C#27-Sep-03 23:16 
GeneralRe: Multy form question Pin
I G 19828-Sep-03 2:34
I G 19828-Sep-03 2:34 
GeneralRe: Multy form question Pin
Jasper4C#28-Sep-03 5:13
Jasper4C#28-Sep-03 5:13 
GeneralRe: Multy form question Pin
I G 19828-Sep-03 19:57
I G 19828-Sep-03 19:57 
GeneralRe: Multy form question Pin
Jasper4C#29-Sep-03 9:31
Jasper4C#29-Sep-03 9:31 
GeneralRemoting and Interfaces Pin
jerrycainjr26-Sep-03 22:11
jerrycainjr26-Sep-03 22:11 
QuestionMDIchild layout? Pin
peenu26-Sep-03 19:01
peenu26-Sep-03 19:01 
GeneralRetrieving Image from SQLServer database Pin
Meysam Mahfouzi26-Sep-03 17:58
Meysam Mahfouzi26-Sep-03 17:58 
GeneralRe: Retrieving Image from SQLServer database Pin
peenu26-Sep-03 19:02
peenu26-Sep-03 19:02 
GeneralRe: Retrieving Image from SQLServer database Pin
Arjan Einbu27-Sep-03 1:23
Arjan Einbu27-Sep-03 1:23 
GeneralRe: Retrieving Image from SQLServer database Pin
Meysam Mahfouzi27-Sep-03 18:03
Meysam Mahfouzi27-Sep-03 18:03 

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.