The Matrix
February 17th, 2000, 09:31 PM
i am trying to make a program that when you type anything in text1 it codes that and puts something else in text2, like a = $ and b = @
help please
help please
|
Click to See Complete Forum and Search --> : Coding The Matrix February 17th, 2000, 09:31 PM i am trying to make a program that when you type anything in text1 it codes that and puts something else in text2, like a = $ and b = @ help please AndyK February 17th, 2000, 10:22 PM 1) Make 2 texboxes private Sub Form_Load() Text1 = "" Text2 = "" End Sub private Sub Text1_KeyDown(KeyCode as Integer, Shift as Integer) If KeyCode = vbKeyA then Text2 = Text2 + "$" If KeyCode = vbKeyB then Text2 = Text2 + "@" End Sub codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |