Click here to Skip to main content
14,696,276 members
Home » Discussions » C#
   

C#

 
QuestionFileWather Path Error [modified][Solved] Pin
MumbleB12-Jun-09 2:58
MemberMumbleB12-Jun-09 2:58 
AnswerRe: FileWather Path Error Pin
_AnsHUMAN_ 12-Jun-09 3:02
Member_AnsHUMAN_ 12-Jun-09 3:02 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:09
MemberMumbleB12-Jun-09 3:09 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 3:17
professionalNagy Vilmos12-Jun-09 3:17 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:28
MemberMumbleB12-Jun-09 3:28 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 3:39
professionalNagy Vilmos12-Jun-09 3:39 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:48
MemberMumbleB12-Jun-09 3:48 
QuestionFocus on a searched text in richtextbox Pin
rakeshs31212-Jun-09 2:55
Memberrakeshs31212-Jun-09 2: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 3:34
sitebuilderLuc Pattyn12-Jun-09 3:34 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:37
professionalNagy Vilmos12-Jun-09 3:37 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 4:11
sitebuilderLuc Pattyn12-Jun-09 4:11 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 4:53
professionalNagy Vilmos12-Jun-09 4:53 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 5:00
sitebuilderLuc Pattyn12-Jun-09 5:00 
AnswerRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:37
professionalNagy Vilmos12-Jun-09 3:37 
QuestionWifi disconnection problem in windosce application Pin
obalesu12-Jun-09 2:43
Memberobalesu12-Jun-09 2:43 
AnswerRe: Wifi disconnection problem in windosce application Pin
MickCurley12-Jun-09 2:55
MemberMickCurley12-Jun-09 2:55 
QuestionPrint directly with out print dialouge. Pin
yesu prakash12-Jun-09 2:36
Memberyesu prakash12-Jun-09 2:36 
AnswerRe: Print directly with out print dialouge. Pin
Mirko198012-Jun-09 4:56
MemberMirko198012-Jun-09 4:56 
GeneralRe: Print directly with out print dialouge. Pin
yesu prakash12-Jun-09 19:51
Memberyesu prakash12-Jun-09 19:51 
QuestionIE toolbar development. Pin
Nehal Pandya MCA12-Jun-09 2:15
MemberNehal Pandya MCA12-Jun-09 2:15 
AnswerRe: IE toolbar development. Pin
DaveyM6912-Jun-09 2:22
professionalDaveyM6912-Jun-09 2:22 
QuestionFile IO over network Pin
paolo.gigante12-Jun-09 2:07
Memberpaolo.gigante12-Jun-09 2:07 
AnswerRe: File IO over network Pin
Tom Deketelaere12-Jun-09 2:12
professionalTom Deketelaere12-Jun-09 2:12 
GeneralRe: File IO over network Pin
paolo.gigante12-Jun-09 2:16
Memberpaolo.gigante12-Jun-09 2:16 
GeneralRe: File IO over network Pin
Tom Deketelaere12-Jun-09 2:19
professionalTom Deketelaere12-Jun-09 2: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.