Click here to Skip to main content
15,889,595 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get another DataTable from original DataTable? Pin
nhatvhm5-Sep-08 21:47
nhatvhm5-Sep-08 21:47 
QuestionSystem.io.ports problem, how check inputs Pin
desperate_C4-Sep-08 13:52
desperate_C4-Sep-08 13:52 
Questionsearchable combobox? Pin
Jassim Rahma4-Sep-08 12:19
Jassim Rahma4-Sep-08 12:19 
AnswerRe: searchable combobox? Pin
Paul Conrad4-Sep-08 16:36
professionalPaul Conrad4-Sep-08 16:36 
GeneralRe: searchable combobox? Pin
Jassim Rahma5-Sep-08 2:28
Jassim Rahma5-Sep-08 2:28 
GeneralRe: searchable combobox? Pin
Paul Conrad5-Sep-08 4:53
professionalPaul Conrad5-Sep-08 4:53 
GeneralRe: searchable combobox? Pin
Jassim Rahma5-Sep-08 6:48
Jassim Rahma5-Sep-08 6:48 
QuestionrichTextBox and rtf problem Pin
panoskatws4-Sep-08 12:10
panoskatws4-Sep-08 12:10 
Hello all, I'm having some trouble with richTextBox. Using c# in Visual Studio 05.
What I do first is to copy the control code ({\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard)
in a string, and then the text I need from an rtf file (\f0This is some {\b bold} text.\par) in another string and combine them, I do this for loading specific lines of the file...

Anyway, the problem is that when I load this in a richTextBox (rtb.Rtf = myString;), I noticed that the control code is changed. For example if the control code cotains code for 5 fontsyles in its fontable
({\f0\fnil\fcharset161 Microsoft Sans Serif;}{\f1\fnil\fcharset0 Tahoma;}{\f2\fnil\fcharset0 Arial;}{\f3\fnil\fcharset0 Arial Black;}{\f4\fnil\fcharset0 Arial Narrow;}),

if the text uses only 3 of them the rest two are not included in the control code of the richTextBox
({\f0\fnil\fcharset0 Tahoma;}{\f1\fnil\fcharset0 Arial Black;}{\f2\fnil\fcharset0 Arial Narrow;}).

I hope you understand what my problem is.

Is there a way of avoiding this to happen, or, if not, how can I control this so when I need to make some changes in the fontstyle of the text, the file will be updated with no mistakes (like f1 is "Tahoma" and not "Arial Black")?
QuestionCan't remove the last row from datagridview Pin
NewToAspDotNet4-Sep-08 11:56
NewToAspDotNet4-Sep-08 11:56 
AnswerRe: Can't remove the last row from datagridview Pin
panoskatws4-Sep-08 12:16
panoskatws4-Sep-08 12:16 
GeneralRe: Can't remove the last row from datagridview Pin
NewToAspDotNet4-Sep-08 23:43
NewToAspDotNet4-Sep-08 23:43 
Questioni donot understand listview Pin
netJP12L4-Sep-08 11:17
netJP12L4-Sep-08 11:17 
AnswerRe: i donot understand listview Pin
Wendelius4-Sep-08 11:33
mentorWendelius4-Sep-08 11:33 
AnswerRe: i donot understand listview Pin
Daniel Grunwald4-Sep-08 12:42
Daniel Grunwald4-Sep-08 12:42 
QuestionVisual Studio 2008 Installation error Pin
arkiboys4-Sep-08 9:58
arkiboys4-Sep-08 9:58 
RantRe: Visual Studio 2008 Installation error Pin
Mbah Dhaim4-Sep-08 10:02
Mbah Dhaim4-Sep-08 10:02 
AnswerRe: Visual Studio 2008 Installation error Pin
#realJSOP4-Sep-08 10:31
mve#realJSOP4-Sep-08 10:31 
QuestionFormat of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 8:08
Twyce4-Sep-08 8:08 
AnswerRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
leppie4-Sep-08 8:59
leppie4-Sep-08 8:59 
AnswerRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Wendelius4-Sep-08 9:16
mentorWendelius4-Sep-08 9:16 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 9:35
Twyce4-Sep-08 9:35 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 9:42
Twyce4-Sep-08 9:42 
AnswerRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Pete O'Hanlon4-Sep-08 9:46
mvePete O'Hanlon4-Sep-08 9:46 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Twyce4-Sep-08 9:50
Twyce4-Sep-08 9:50 
GeneralRe: Format of the initialization string does not conform to specification starting at index 0.???? Pin
Pete O'Hanlon4-Sep-08 9:55
mvePete O'Hanlon4-Sep-08 9:55 

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.