Click here to Skip to main content
15,924,829 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDisabling Menu Items of MS Word Application Pin
Anonymous27-Mar-05 19:35
Anonymous27-Mar-05 19:35 
Generalenumerate Event handlers For a control Pin
xstoneheartx27-Mar-05 17:57
xstoneheartx27-Mar-05 17:57 
GeneralRe: enumerate Event handlers For a control Pin
Dave Kreskowiak28-Mar-05 4:58
mveDave Kreskowiak28-Mar-05 4:58 
GeneralRe: enumerate Event handlers For a control Pin
xstoneheartx28-Mar-05 9:14
xstoneheartx28-Mar-05 9:14 
GeneralRe: enumerate Event handlers For a control Pin
Dave Kreskowiak29-Mar-05 1:48
mveDave Kreskowiak29-Mar-05 1:48 
Generalvb.net tutorial Pin
epattam27-Mar-05 14:41
epattam27-Mar-05 14:41 
GeneralRe: vb.net tutorial Pin
Dave Kreskowiak27-Mar-05 15:20
mveDave Kreskowiak27-Mar-05 15:20 
QuestionHow to extract last word typed into richtextbox ? Pin
hammo27-Mar-05 13:54
hammo27-Mar-05 13:54 
Cool | :cool: G'day and thanx in advance for anyone replying to my question.

Being a VB.Net newbie, I am having trouble using basic text extraction from a richtextbox.

As the user types into a richtext box I have a tool tip that pops up when the user hits '(' and closes on the ')' key hits. It appears just below and to the right of the current caret location in the richtextbox.

I would like to be able to extract the last word typed just prior to hitting the '(' key, so I know what they are trying to do and can provide appropriate tips in the tooltip.

Can anyone help me with a short example of extracting text from the current caret position - 1, to the last '$', " " , "<", ";" entered before the current caret position.

Sorry if it's a real Newb question, .NET has so many bloody classes, I'm sure there's a simple way to do it, but I don't know where to look.



Cheers, Craig.
AnswerRe: How to extract last word typed into richtextbox ? Pin
Dave Kreskowiak27-Mar-05 15:18
mveDave Kreskowiak27-Mar-05 15:18 
GeneralRe: How to extract last word typed into richtextbox ? Pin
hammo28-Mar-05 11:32
hammo28-Mar-05 11:32 
GeneralRe: How to extract last word typed into richtextbox ? Pin
Dave Kreskowiak29-Mar-05 2:09
mveDave Kreskowiak29-Mar-05 2:09 
AnswerRe: How to extract last word typed into richtextbox ? Pin
Mandar Patankar28-Mar-05 6:28
Mandar Patankar28-Mar-05 6:28 
GeneralRe: How to extract last word typed into richtextbox ? Pin
hammo28-Mar-05 11:28
hammo28-Mar-05 11:28 
GeneralVB.Net Question Pin
dyerstein27-Mar-05 9:11
dyerstein27-Mar-05 9:11 
GeneralRe: VB.Net Question Pin
Dave Kreskowiak27-Mar-05 15:03
mveDave Kreskowiak27-Mar-05 15:03 
Questionhow to get name of all tables in msaccess database Pin
sumit2127-Mar-05 5:34
sumit2127-Mar-05 5:34 
AnswerRe: how to get name of all tables in msaccess database Pin
Dave Kreskowiak27-Mar-05 8:21
mveDave Kreskowiak27-Mar-05 8:21 
Generalcast conversion from double to string Pin
sumit2127-Mar-05 4:11
sumit2127-Mar-05 4:11 
GeneralRe: cast conversion from double to string Pin
Dave Kreskowiak27-Mar-05 8:16
mveDave Kreskowiak27-Mar-05 8:16 
GeneralFile, Folder, Reg Permissions Pin
badcredit26-Mar-05 12:52
badcredit26-Mar-05 12:52 
GeneralRe: File, Folder, Reg Permissions Pin
Dave Kreskowiak26-Mar-05 15:16
mveDave Kreskowiak26-Mar-05 15:16 
GeneralImageList Pin
Anonymous26-Mar-05 12:10
Anonymous26-Mar-05 12:10 
GeneralRe: ImageList Pin
Dave Kreskowiak27-Mar-05 3:34
mveDave Kreskowiak27-Mar-05 3:34 
GeneralRe: ImageList Pin
Just Greeky Creek27-Mar-05 22:36
Just Greeky Creek27-Mar-05 22:36 
QuestionHow to Make Scrollable Image Pin
imshally8126-Mar-05 1:48
imshally8126-Mar-05 1:48 

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.