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.
|