CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Coding

  1. #1
    Join Date
    Feb 2000
    Location
    garden grove, california
    Posts
    64

    Coding

    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


  2. #2
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: Coding

    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






Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured