|
-
Jun 6th, 2011, 12:21 PM
#1
Thread Starter
Junior Member
[RESOLVED] Find and replace text in a textbox
I need some help doing this, because I don't know where to start. Thanks in advance.
(Edit: I forgot that I put it in the wrong place. I was browsing there before)
Last edited by 3no7ch; Jun 6th, 2011 at 02:25 PM.
Reason: I forgot something.
I can program in Visual Basic 6/.NET. I'm Canadian.
-
Jun 6th, 2011, 12:23 PM
#2
Re: Find and replace text in a textbox
Moved From The Codebank (which is for sharing code rather than posting questions )
-
Jun 6th, 2011, 04:36 PM
#3
Re: Find and replace text in a textbox
you can use instr and mid functions to find the text, then replace, if you change to a richtextbox it has a built in find method
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jun 7th, 2011, 08:09 AM
#4
Thread Starter
Junior Member
Re: Find and replace text in a textbox
I have a rich text box, I'm just not sure where to start.
I can program in Visual Basic 6/.NET. I'm Canadian.
-
Jun 7th, 2011, 08:46 AM
#5
Re: Find and replace text in a textbox
-
Jun 7th, 2011, 05:08 PM
#6
Thread Starter
Junior Member
Re: Find and replace text in a textbox
I can program in Visual Basic 6/.NET. I'm Canadian.
-
Jun 7th, 2011, 08:41 PM
#7
Re: Find and replace text in a textbox
if ur problm solved, pls mark thread as resolved.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|