Click here to Skip to main content
15,897,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionLaunch MS Access with Code Pin
New_Coder8-Mar-07 5:54
New_Coder8-Mar-07 5:54 
QuestionEmbedding dll in HTML [modified] Pin
wintergrave8-Mar-07 4:45
wintergrave8-Mar-07 4:45 
QuestionHow can I solve this problem [modified] Pin
Adekolurejo8-Mar-07 4:03
Adekolurejo8-Mar-07 4:03 
AnswerRe: How can I solve this problem Pin
Dave Kreskowiak8-Mar-07 4:30
mveDave Kreskowiak8-Mar-07 4:30 
Questionpbm in richtext box Pin
balakpn8-Mar-07 2:38
balakpn8-Mar-07 2:38 
AnswerRe: pbm in richtext box Pin
Dave Kreskowiak8-Mar-07 4:28
mveDave Kreskowiak8-Mar-07 4:28 
GeneralRe: pbm in richtext box Pin
balakpn8-Mar-07 17:19
balakpn8-Mar-07 17:19 
GeneralRe: pbm in richtext box Pin
Dave Kreskowiak9-Mar-07 4:54
mveDave Kreskowiak9-Mar-07 4:54 
What do you mean "not able to find that"? Of course you can't find it, you haven't written it yet!

Start with the Find() method of the RichTextBox. It'll return the text position of the first occurance of whatever you want to find. You the use that value to set the RTB's SelectionStart property and the length of your serarch term to set the SelectionLength property to highlight the text. Then call the RTB's ScrollToCaret method to make sure that the user can see the highlight.

The rest is left up to you as an exercise.


Dave Kreskowiak
Microsoft MVP - Visual Basic


Questionconnection not getting closed Pin
balakpn7-Mar-07 23:38
balakpn7-Mar-07 23:38 
AnswerRe: connection not getting closed Pin
Colin Angus Mackay8-Mar-07 0:02
Colin Angus Mackay8-Mar-07 0:02 
GeneralRe: connection not getting closed Pin
balakpn8-Mar-07 3:47
balakpn8-Mar-07 3:47 
GeneralRe: connection not getting closed Pin
Dave Kreskowiak8-Mar-07 4:27
mveDave Kreskowiak8-Mar-07 4:27 
GeneralRe: connection not getting closed Pin
balakpn8-Mar-07 17:22
balakpn8-Mar-07 17:22 
AnswerRe: connection not getting closed Pin
Daytona_6758-Mar-07 17:23
Daytona_6758-Mar-07 17:23 
GeneralRe: connection not getting closed Pin
balakpn8-Mar-07 18:02
balakpn8-Mar-07 18:02 
GeneralRe: connection not getting closed Pin
Daytona_6759-Mar-07 10:23
Daytona_6759-Mar-07 10:23 
QuestionSystem Date Pin
JonCox7-Mar-07 23:36
JonCox7-Mar-07 23:36 
AnswerRe: System Date Pin
andyharman8-Mar-07 2:40
professionalandyharman8-Mar-07 2:40 
AnswerRe: System Date Pin
The ANZAC8-Mar-07 9:41
The ANZAC8-Mar-07 9:41 
AnswerRe: System Date Pin
Member 38798818-Mar-07 17:59
Member 38798818-Mar-07 17:59 
GeneralRe: System Date Pin
JonCox9-Mar-07 8:48
JonCox9-Mar-07 8:48 
QuestionStructuere with WithEvents members Pin
Marc Soleda7-Mar-07 22:48
Marc Soleda7-Mar-07 22:48 
AnswerRe: Structuere with WithEvents members [modified] Pin
TwoFaced7-Mar-07 23:15
TwoFaced7-Mar-07 23:15 
QuestionHow can I draw a line in designer? Pin
NanaAM7-Mar-07 22:37
NanaAM7-Mar-07 22:37 
AnswerRe: How can I draw a line in designer? Pin
TwoFaced7-Mar-07 23:29
TwoFaced7-Mar-07 23:29 

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.