Click here to Skip to main content
16,006,065 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
G'day Mandar,

Thanks very much for that. I haven't tried it yet, but it reads well, it's simple and seems to make sense. You're obviously skilled in VB .NET

I did pick up on a neat little trick you're using, which I havn't seen anywhere else....the 'With' and 'End With' Statement. It appears from your code that it basically saves us from typing Me.TextBox1 within the 'With'-'End With'. That in itself is a bit of gold !

With Me.TextBox1
Dim ToFind As String = .Text.Substring(0, .SelectionStart) & e.KeyChar
End With

Also, just a quick comment about how fast I received 2 very clever responses to my question. I received the first response in a matter of an hour or two and the second not long after. The 'CodeProject' has been a huge help. Cheers to the admin as well.

Craig.

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 
AnswerRe: How to Make Scrollable Image Pin
Robert Rohde26-Mar-05 23:23
Robert Rohde26-Mar-05 23:23 
GeneralRe: How to Make Scrollable Image Pin
imshally8128-Mar-05 23:15
imshally8128-Mar-05 23:15 
QuestionHow to send info from one form to another Pin
shripad bose25-Mar-05 22:36
shripad bose25-Mar-05 22:36 
AnswerRe: How to send info from one form to another Pin
Dave Kreskowiak26-Mar-05 15:14
mveDave Kreskowiak26-Mar-05 15:14 
QuestionHow draw Rectangle on Image. Pin
imshally8125-Mar-05 20:46
imshally8125-Mar-05 20:46 

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.