Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: Save a System.Drawing.Graphics graphic as *.bmp Pin
pmarfleet1-Nov-07 3:13
pmarfleet1-Nov-07 3:13 
GeneralRe: Save a System.Drawing.Graphics graphic as *.bmp Pin
Manfr3d1-Nov-07 10:30
Manfr3d1-Nov-07 10:30 
QuestionCrystal report aspx page hanging Pin
Chazzysb1-Nov-07 2:29
Chazzysb1-Nov-07 2:29 
QuestionWinForms - UserControl problem Pin
Andrei Ungureanu1-Nov-07 1:26
Andrei Ungureanu1-Nov-07 1:26 
AnswerRe: WinForms - UserControl problem Pin
Mike Hankey1-Nov-07 8:26
mveMike Hankey1-Nov-07 8:26 
QuestionHow do I Find characters in a single line of a richtextbox Pin
I_Need_Help1-Nov-07 1:16
I_Need_Help1-Nov-07 1:16 
AnswerRe: How do I Find characters in a single line of a richtextbox Pin
duncanmhor1-Nov-07 1:27
duncanmhor1-Nov-07 1:27 
GeneralRe: How do I Find characters in a single line of a richtextbox Pin
I_Need_Help1-Nov-07 3:15
I_Need_Help1-Nov-07 3:15 
Thank you that seems such an obvious think to do, I should have thought of it too!!!

however I'm haveing an issue with it in that it alway returns -1 (not found!).

int endline = rtxtResults.Find(System.Environment.NewLine, 1, RichTextBoxFinds.None);

or

int endline = rtxtResults.Find("\r", 1, RichTextBoxFinds.None);

As can be seen above even manualy setting the start location to 1 it never finds the end of line!Blush | :O

the watch show each line ending in \n !

any idea why?

thanks



GeneralRe: How do I Find characters in a single line of a richtextbox Pin
Luc Pattyn1-Nov-07 3:52
sitebuilderLuc Pattyn1-Nov-07 3:52 
AnswerRe: How do I Find characters in a single line of a richtextbox Pin
I_Need_Help1-Nov-07 4:04
I_Need_Help1-Nov-07 4:04 
QuestionListbox updation Pin
DeepOceans1-Nov-07 1:15
DeepOceans1-Nov-07 1:15 
QuestionBuild error when building solution in VS.NET Pin
C-sharper 11-Nov-07 0:53
C-sharper 11-Nov-07 0:53 
AnswerRe: Build error when building solution in VS.NET Pin
sindhutiwari1-Nov-07 1:17
sindhutiwari1-Nov-07 1:17 
GeneralRe: Build error when building solution in VS.NET Pin
C-sharper 11-Nov-07 2:20
C-sharper 11-Nov-07 2:20 
GeneralRe: Build error when building solution in VS.NET Pin
C-sharper 11-Nov-07 2:30
C-sharper 11-Nov-07 2:30 
QuestionWhat is better - Object Entitties or Datasets? Pin
rohans841-Nov-07 0:49
rohans841-Nov-07 0:49 
AnswerRe: What is better - Object Entitties or Datasets? Pin
Ennis Ray Lynch, Jr.1-Nov-07 8:40
Ennis Ray Lynch, Jr.1-Nov-07 8:40 
QuestionTablet PC Handwriting recognizer: Urgent Pin
bibhakar1-Nov-07 0:31
bibhakar1-Nov-07 0:31 
AnswerRe: Tablet PC Handwriting recognizer: Urgent Pin
m@u1-Nov-07 0:52
m@u1-Nov-07 0:52 
QuestionResizable control question Pin
adt_brauer1-Nov-07 0:30
adt_brauer1-Nov-07 0:30 
AnswerRe: Resizable control question Pin
Matthew Butler1-Nov-07 6:12
Matthew Butler1-Nov-07 6:12 
Questionproblem with drawString() Pin
arnoldpinto841-Nov-07 0:21
arnoldpinto841-Nov-07 0:21 
AnswerRe: problem with drawString() Pin
Luc Pattyn1-Nov-07 3:55
sitebuilderLuc Pattyn1-Nov-07 3:55 
GeneralRe: problem with drawString() Pin
arnoldpinto841-Nov-07 20:06
arnoldpinto841-Nov-07 20:06 
GeneralRe: problem with drawString() Pin
Luc Pattyn2-Nov-07 15:32
sitebuilderLuc Pattyn2-Nov-07 15: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.