Author Topic: Visual basic code, simple (non SGDK related)  (Read 13126 times)

Gohst

  • Regular
  • **
  • Posts: 31
    • View Profile
    • http://mybrain.ej.am
    • Email
Visual basic code, simple (non SGDK related)
« Reply #15 on: 2005-05-13, 12:23:50 AM »
Hello everyone. I got around to making this program and the first code works good but the second code does not.

If you type in abc or ABC or anything you get empty spaces. for example if you type "Hello" in text box 1 then in text box 2 you get "     " that is, 5 blank characters... anyone know whats up with that?

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Visual basic code, simple (non SGDK related)
« Reply #16 on: 2005-05-14, 06:59:05 AM »
I'm not sure your question makes sense.  Can you describe what the first code is doing and what you expect the second code to do, and then ask your question again if you still think it makes sense? :)

Gohst

  • Regular
  • **
  • Posts: 31
    • View Profile
    • http://mybrain.ej.am
    • Email
Visual basic code, simple (non SGDK related)
« Reply #17 on: 2005-05-15, 08:46:13 PM »
so you make a form with two text boxes. then you put the first code into the program. in textbox1 you type .-- and in textbox2 a letter appears.

but if you do the same with the second code (which is reverse, i think) and you type into textbox1 an ordinary letter, then in textbox2 nothing appears. just an empty blank space.

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Visual basic code, simple (non SGDK related)
« Reply #18 on: 2005-05-17, 05:38:21 AM »
Oh, OK, I thought it was the other way around (I thought the first code was for converting letters into morse code).  But I looked at the code again after seeing your message and it looke like the first code is in fact for converting morse code into letters.  Did you type a capital letter?  The code appears to only be written for capital letters right now.