ThyElite Forums  
Go Back   ThyElite Forums > MyCoke Talk > General Talk
Reload this Page Vb6 Help
Reply
 
Thread Tools Display Modes
(#1)
Old
Peener is Offline
Super Moderator
Peener is on a distinguished road
 
Posts: 183
Join Date: Jun 2006
Default Vb6 Help - 08-03-2006, 07:28 PM

Text replacement.
I can easily change any character in a textbox to whatever.
But the problem I have is that the characters put in the textbox will always be random.
Example:
I have all these characters:

zmt6umpbrlaip8te1dfmonpndpppciusdmye1sjubpdiiibnig

I want to edit the 5th digit for the leter "o" so this is what i put for the code:
Dim s As String
s = txtExample.Text
s = Replace(s, "u", "o")
MsgBox (s)

That code is used to edit a certain character, but the problem is that the characters will always be different.
So i have to find a way for the fifth character in the text box to change, how do i do that in vb6?

Hopefully mjmorrell or takeshi can help.



Yes I made this.........

BitTorrent Addict.


_____
| OO |
|___ |
|\__/|

This Guy OWNS You.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.