VB .Net

I started coding with HTML, however my first real desktop program language was VB .Net which I tried after I read an article in Computer Shopper. This simple little VB program simply tested the input of one textbox to see if it was a palindrome! It did this by copying letter by letter from textbox1 to another textbox textbox2 and seeing if the content matched! This brought me into the wonderful world of desktop programming.

C# .Net

This is the language I would classify that I truely started with. This is the language I used to create a simple RTF editor. (I’m still working on it, albeit slightly more complex than when I started! :) )

Back to VB .Net

Since I think some of you might be interested in the palindrome testing program I mention above, here are the issue numbers and page numbers of the Computer Magazine I created the program from:

  • Issue -220
  • Page – 144

OR

The code of the main function to reverse the strings.
This assumes you have a form with 2 Text Boxes. Named TextBox1 and TextBox2

  1 For Each letter As Char In TextBox1.Text
  2     TextBox2.Text = letter & TextBox2.Text
  3 Next
  4 If TextBox1.Text = TextBox2.Text Then
  5     MsgBox("Palindrome Detected")
  6 End If

Colorized by http://puzzleware.net/CodeHtmler/default.aspx

One Comment

  1. Excellent description…..

    The description and the example tips given by you is very clear to understand.

    Good work keep it up……


Post a Comment

*
*