Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
QuestionMarshallByreference Pin
prabhu dot net26-Jul-07 19:55
prabhu dot net26-Jul-07 19:55 
QuestionCrystal report Problem Pin
help as an alias26-Jul-07 19:46
help as an alias26-Jul-07 19:46 
AnswerSTOP !!! Pin
Christian Graus26-Jul-07 20:21
protectorChristian Graus26-Jul-07 20:21 
AnswerRe: Crystal report Problem Pin
T.EDY26-Jul-07 20:48
T.EDY26-Jul-07 20:48 
Questionload file names Pin
amilapradeep26-Jul-07 18:43
amilapradeep26-Jul-07 18:43 
AnswerRe: load file names Pin
Christian Graus26-Jul-07 18:47
protectorChristian Graus26-Jul-07 18:47 
GeneralRe: load file names Pin
amilapradeep26-Jul-07 19:17
amilapradeep26-Jul-07 19:17 
QuestionCapturing the Current Line of Text from RichTextBox [modified] Pin
bneacetp26-Jul-07 17:33
bneacetp26-Jul-07 17:33 
I am working on a program which loads rich text documents into a RichTextBox control. What I need is to grab the text of the current "line" (including any text that may have wrapped around to the following line) that I have my insertion point at in the text. I had thought that I might be able search backward as well as forward for the closest System.Environment.NewLine (capturing the index of each) and then do a Sting.Substring call using the indexes of each NewLine find, but for some reason, that is not working.

Are there any suggestions for how I could do this with greater success? Confused | :confused:

Thanks in advance.


-- modified at 23:38 Thursday 26th July, 2007



John 3:16: "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life."

using Earth.Internet.WWW.CodeProject;

AnswerRe: Capturing the Current Line of Text from RichTextBox Pin
Abisodun27-Jul-07 2:23
Abisodun27-Jul-07 2:23 
QuestionRe: Capturing the Current Line of Text from RichTextBox Pin
bneacetp27-Jul-07 15:02
bneacetp27-Jul-07 15:02 
AnswerRe: Capturing the Current Line of Text from RichTextBox Pin
Abisodun28-Jul-07 3:54
Abisodun28-Jul-07 3:54 
QuestionHow to know if a DataTable has been created? Pin
Khoramdin26-Jul-07 12:59
Khoramdin26-Jul-07 12:59 
AnswerRe: How to know if a DataTable has been created? Pin
Christian Graus26-Jul-07 13:52
protectorChristian Graus26-Jul-07 13:52 
AnswerRe: How to know if a DataTable has been created? Pin
T.EDY26-Jul-07 16:28
T.EDY26-Jul-07 16:28 
AnswerRe: How to know if a DataTable has been created? [modified] Pin
Eliz.k26-Jul-07 20:37
Eliz.k26-Jul-07 20:37 
QuestionHow to seperate the Two string? Pin
Khoramdin26-Jul-07 10:31
Khoramdin26-Jul-07 10:31 
AnswerRe: How to seperate the Two string? Pin
PhilDanger26-Jul-07 10:39
PhilDanger26-Jul-07 10:39 
AnswerRe: How to seperate the Two string? Pin
Judah Gabriel Himango26-Jul-07 10:40
sponsorJudah Gabriel Himango26-Jul-07 10:40 
AnswerRe: How to seperate the Two string? Pin
Eliz.k26-Jul-07 20:50
Eliz.k26-Jul-07 20:50 
GeneralRe: How to seperate the Two string? Pin
Malcolm Smart26-Jul-07 21:08
Malcolm Smart26-Jul-07 21:08 
GeneralRe: How to seperate the Two string? Pin
Eliz.k26-Jul-07 22:38
Eliz.k26-Jul-07 22:38 
QuestionBest way to populate grid? [modified] Pin
zaboboa26-Jul-07 10:22
zaboboa26-Jul-07 10:22 
AnswerRe: Best way to populate grid? Pin
Judah Gabriel Himango26-Jul-07 12:56
sponsorJudah Gabriel Himango26-Jul-07 12:56 
AnswerRe: Best way to populate grid? Pin
Eliz.k26-Jul-07 20:55
Eliz.k26-Jul-07 20:55 
AnswerRe: Best way to populate grid? Pin
Urs Enzler26-Jul-07 20:56
Urs Enzler26-Jul-07 20:56 

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.