VB.NET Tutorial 1

Posted on
  • by
  • Unknown
  • in
  • Labels: , , ,

  •      This is the First to our Many Part Series of Visual Basic Tutorials and Today we are just starting off like a beginner would. Doing the "Hello World!" Tutorial. We are going to make a program that when you push a button, it will give you a message box stating "Hello World!"
         First, start off by opening Visual Basic(or if you need to download and install it, watch this video http://www.techperiod.com/2011/11/how-to-install-visual-basicnet-2010.html). Next we want to create a new "Windows Forms Application" and name it "Hello World" or whatever you like.
         Now we want to drag a Button into anywhere in the little window with the title "Form1". Then make sure the button is clicked on, and go to the right and in the properties window area, find the "Text" and change that to "Show" or what you want you button to show.
         Now Double click on your button. Type in the code "MsgBox("Hello World!"). Then in the Top center, there should be a play button. Click that and your program should start. Click your button and see if the Text box appears.

    Here is a Pastebin for the Code http://pastebin.com/sFKX4bgz

         Thanks for Reading TechPeriod!

    0 comments:

    Post a Comment