AuthorMessage
dzadzuks
Ametuar
Posts: 135

im makeing a programm, if u write a text in one textbox it apears in 2nd textbox but the letters are changed to hackers language letters  :wink:
so the problem is: my prog dont change the all text but just the 1st letter, i guess im writing the wrong code...(i figured it out my self    )
so the code is incorect: 
Code:
Private Sub Command1_Click()
If Text1.Text = "a" Then
Text2.Text = "4"
End If
End Sub   

can somebody help with my code?  i want to write a word in textbox>> press button "command1" and the word apears in textbox2 but with hackers language letters 
thx  :!:
Meka][Meka
Unstopable
Posts: 700

because u are checking to only the full textbox, u need to rescan it over, or.... u can count length then change last char using replace function
dzadzuks
Ametuar
Posts: 135

replace.... :o      ok thx :wink:
Meka][Meka
Unstopable
Posts: 700

Code:
blah.text = Replace(blah.text,"B","8")

u can make a array of all the chars u want replaced
dzadzuks
Ametuar
Posts: 135

thats what im talking about! 
but it dont replace b=8 but shows the real B in both textboxes  :?
[Junik]Kkipars
Clone
Posts: 1

Quoted from dzadzuks
thats what im talking about! 
but it dont replace b=8 but shows the real B in both textboxes  :?

Dzadzuks i thot that you know VB6 better.... thats the pokeon langvige LOL
Ashura
Unstopable
Posts: 370

he does know it good now
u are replaying post more than 1 year old, look at date
Quote:
Posted: Thu Jun 23, 2005 12:39 pm

btw we are both offtopic here  :evil:  so post only if u have to say something bout this topic specially
dzadzuks
Ametuar
Posts: 135

LOL Kkipars you want some code battle?     
I remember even teaching you some vb.... BTW, this post is ONE of my 1st posts, that ws when i just downlaoded VB and tryed it for 1st time 
P.S what is 'pokeon langvige' never seen any 'pokeon's' talking like that
b_w_johan
Regular
Posts: 56

well, still hard to make some real hackers leet language specially, when youre making it in ascii ... its looking awesome in youre vb editor, but when pasted in dc its looking like crap why do all clients have another default in there text if all used arial 10 it would be perfect
and i think i'm for dza in this battle
Kkips, youre not even sticking to a project when you start it hehe
but if i could join in battle would be funny, lets set up some context, make time period, and find a judge (and i think we shouldn't have a friend judging just someone with knowledge of vb6, but who isn't 1 of our friends )
--edit
why the hell is : ) a winking smiley with thumbs up ... whats wrong with just a smiling smiley as its supposed to be ????