Click here to Skip to main content
15,886,519 members
Home / Discussions / C#
   

C#

 
QuestionFileWather Path Error [modified][Solved] Pin
MumbleB12-Jun-09 1:58
MumbleB12-Jun-09 1:58 
AnswerRe: FileWather Path Error Pin
_AnsHUMAN_ 12-Jun-09 2:02
_AnsHUMAN_ 12-Jun-09 2:02 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:09
MumbleB12-Jun-09 2:09 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 2:17
professionalNagy Vilmos12-Jun-09 2:17 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:28
MumbleB12-Jun-09 2:28 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 2:39
professionalNagy Vilmos12-Jun-09 2:39 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:48
MumbleB12-Jun-09 2:48 
QuestionFocus on a searched text in richtextbox Pin
rakeshs31212-Jun-09 1:55
rakeshs31212-Jun-09 1:55 
Hi,

I have the following code

StreamReader sr = new StreamReader(strMainPath);
            string allRead = sr.ReadToEnd();
            sr.Close();
            regMatch = textBox1.Text;
            if (Regex.IsMatch(allRead, regMatch))
            {
                richTextBox1.Find(regMatch);
                richTextBox1.SelectionColor = Color.Red;
                richTextBox1.SelectionBackColor = Color.Yellow;
                
            }


from textBoxi.text i am getting the word to search.
It is searching and getting the result, if that word is there
it highlighed.But my problem is to focus on that text in text area.
If the file is very large ,i have to scroll to findout where is the highlighted text.Instead of that i want to focus on that text.
Is there any way?
Pls help
AnswerRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 2:34
sitebuilderLuc Pattyn12-Jun-09 2:34 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 2:37
professionalNagy Vilmos12-Jun-09 2:37 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 3:11
sitebuilderLuc Pattyn12-Jun-09 3:11 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:53
professionalNagy Vilmos12-Jun-09 3:53 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 4:00
sitebuilderLuc Pattyn12-Jun-09 4:00 
AnswerRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 2:37
professionalNagy Vilmos12-Jun-09 2:37 
QuestionWifi disconnection problem in windosce application Pin
obalesu12-Jun-09 1:43
obalesu12-Jun-09 1:43 
AnswerRe: Wifi disconnection problem in windosce application Pin
MickCurley12-Jun-09 1:55
MickCurley12-Jun-09 1:55 
QuestionPrint directly with out print dialouge. Pin
yesu prakash12-Jun-09 1:36
yesu prakash12-Jun-09 1:36 
AnswerRe: Print directly with out print dialouge. Pin
Mirko198012-Jun-09 3:56
Mirko198012-Jun-09 3:56 
GeneralRe: Print directly with out print dialouge. Pin
yesu prakash12-Jun-09 18:51
yesu prakash12-Jun-09 18:51 
QuestionIE toolbar development. Pin
Nehal Pandya MCA12-Jun-09 1:15
Nehal Pandya MCA12-Jun-09 1:15 
AnswerRe: IE toolbar development. Pin
DaveyM6912-Jun-09 1:22
professionalDaveyM6912-Jun-09 1:22 
QuestionFile IO over network Pin
paolo.gigante12-Jun-09 1:07
paolo.gigante12-Jun-09 1:07 
AnswerRe: File IO over network Pin
Tom Deketelaere12-Jun-09 1:12
professionalTom Deketelaere12-Jun-09 1:12 
GeneralRe: File IO over network Pin
paolo.gigante12-Jun-09 1:16
paolo.gigante12-Jun-09 1:16 
GeneralRe: File IO over network Pin
Tom Deketelaere12-Jun-09 1:19
professionalTom Deketelaere12-Jun-09 1:19 

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.