Click here to Skip to main content
15,894,324 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# and org.apache.log4j.PropertyConfigurator Pin
Heath Stewart22-Sep-04 20:21
protectorHeath Stewart22-Sep-04 20:21 
GeneralRe: C# and org.apache.log4j.PropertyConfigurator Pin
devvvy22-Sep-04 20:39
devvvy22-Sep-04 20:39 
GeneralRelating datagrid rows to datatable rows Pin
blakeb_120-Sep-04 4:07
blakeb_120-Sep-04 4:07 
GeneralRe: Relating datagrid rows to datatable rows Pin
Anonymous20-Sep-04 8:24
Anonymous20-Sep-04 8:24 
GeneralCrystal Reports progress in an app Pin
Mr. Labenche20-Sep-04 4:04
Mr. Labenche20-Sep-04 4:04 
GeneralRe: Crystal Reports progress in an app Pin
Dave Kreskowiak20-Sep-04 6:44
mveDave Kreskowiak20-Sep-04 6:44 
GeneralRe: Crystal Reports progress in an app Pin
Mr. Labenche23-Sep-04 1:24
Mr. Labenche23-Sep-04 1:24 
GeneralSearch and display text in richtextbox Pin
clatten20-Sep-04 3:24
clatten20-Sep-04 3:24 
I want to do a simple search function in a richtextbox. I have loaded a file and by using the Find method it's possible to find a text string, highlight the string and extract the line number, but how can I programatically scroll down to the line?

private int findText(string searchText, int searchStart, int searchEnd)
{
int indexToText = richTextBox1.Find(searchText, searchStart, searchEnd, RichTextBoxFinds.MatchCase);
richTextBox1.SelectionColor = Color.Blue;
int lineNo= richTextBox1.GetLineFromCharIndex(indexToText);
return indexToText;
}
GeneralRe: Search and display text in richtextbox Pin
mav.northwind20-Sep-04 3:48
mav.northwind20-Sep-04 3:48 
GeneralRe: Search and display text in richtextbox Pin
clatten20-Sep-04 5:14
clatten20-Sep-04 5:14 
GeneralCrystal Reports progress in an app Pin
Mr. Labenche20-Sep-04 2:58
Mr. Labenche20-Sep-04 2:58 
GeneralRegister and unregister a Windows Service programmatically... Pin
Salil Khedkar20-Sep-04 2:00
Salil Khedkar20-Sep-04 2:00 
GeneralRe: Register and unregister a Windows Service programmatically... Pin
S Sansanwal20-Sep-04 13:52
S Sansanwal20-Sep-04 13:52 
GeneralUsing Excel.WorksheetFunction in C# Pin
itstime9820-Sep-04 1:00
itstime9820-Sep-04 1:00 
GeneralRe: Using Excel.WorksheetFunction in C# Pin
sreejith ss nair20-Sep-04 1:08
sreejith ss nair20-Sep-04 1:08 
GeneralRe: Using Excel.WorksheetFunction in C# Pin
itstime9820-Sep-04 1:39
itstime9820-Sep-04 1:39 
GeneralRe: Using Excel.WorksheetFunction in C# Pin
itstime9820-Sep-04 1:50
itstime9820-Sep-04 1:50 
GeneralRe: Using Excel.WorksheetFunction in C# Pin
ODS21-Sep-04 1:29
ODS21-Sep-04 1:29 
GeneralRe: Using Excel.WorksheetFunction in C# Pin
itstime9821-Sep-04 18:46
itstime9821-Sep-04 18:46 
GeneralForm.Close() Pin
exhaulted20-Sep-04 0:43
exhaulted20-Sep-04 0:43 
GeneralRe: Form.Close() Pin
sreejith ss nair20-Sep-04 0:58
sreejith ss nair20-Sep-04 0:58 
GeneralRe: Form.Close() Pin
exhaulted20-Sep-04 1:32
exhaulted20-Sep-04 1:32 
Generalmainly p.s. Pin
yoaz20-Sep-04 2:01
yoaz20-Sep-04 2:01 
GeneralRe: mainly p.s. Pin
exhaulted20-Sep-04 3:09
exhaulted20-Sep-04 3:09 
GeneralRe: mainly p.s. Pin
Charlie Williams20-Sep-04 5:00
Charlie Williams20-Sep-04 5:00 

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.