Shadow Blade
Morrowland Presents Apron Tutorials
game - design - multimedia - web - programming - tutorials - There are currently viewers visiting Apron Tutorials.
   
 
TECHNICAL
GRAPHICAL
SOUND
GAME
WEB
ARTICLE
TOOL
PROJECT
 
 NEWS

  news

  history


 TECHNICAL TUTORIALS

  opengl

  direct3d

  c/c++

  visual basic

  java

  c#


 WEB TUTORIALS

  html

  dhtml

  asp

  php


 IMAGE EDITING

  photoshop

  draw sketch


 3D MODELING

  3d studio


 PROJECTS

  shadow blade

  game environment

  virtual 3d guide

  billy blue flame


 DEMOS

  win32 api


 ARTICLES

  general

  opengl


 COMMUNITY

  about us

  credit

  contact







VISUAL BASIC .NET APRON TUTORIALS





Public Class Form1
    Inherits System.Windows.Forms.Form

    'variable 1 is a string
    Dim myName As String    'string can hold characters
    'variable 2 is a integer
    Dim myYear As Integer   'interger can hold numbers (..-2,-1,0,1,2,3...n)
    'variable 2 is a double
    Dim myNumber As Double  'double can hold decimal numbers 1.5 or -2.7 etc
    'variable 4 is also a string
    Dim strEkstra As String = "Thank you!" 'Lets define this string

    'The form load is the initialization section of your program
    'The program reads this procedure first
    Private Sub Form1_Load(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles MyBase.Load
        myName = "Mr Cool"  'define myName set the content as "Mr Cool"
        myYear = 2002       'define myYear set the value as 2002
        myNumber = 8.8      'define myNumber set the value as 8.8
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles Button1.Click
        TextBox1.Text = myName     'Text out, the content of myName
        TextBox2.Text = myYear     'Text out, the value of myYear
        TextBox3.Text = myNumber   'Text out, the value of myNumber
        TextBox4.Text = strEkstra  'Text out, the value of myNumber
    End Sub

End Class


Download The Source Code! Visual Basic .Net Source Code


I hope you found this VB .Net tutorial useful!

Don't forget to mention Apron Tutorials in your References!

Best Regards
Ronny André Reierstad

 LINKS

  morrowland home



 GAME DEVELOPEMENT

  nvidia

  gamedev

  polycount


 PROJECTS

  shadow blade

  game environment

  virtual 3d guide

  billy blue flame


 MATH AND PHYSICS

  mathworld

  physicsworld







PLEASE LINK TO


  All rights reserved Morrowland © 2011  
Ronny André Reierstad