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





'This tutorial is the same tutorial as "vb_variable",
'but instead of writing your variables here you use a module...

Public Class Form1
    Inherits System.Windows.Forms.Form

    'declare counter as integer
    Dim counter As Integer

    Private Sub Form1_Load(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles MyBase.Load
        myName = "Mr Cool"
        myYear = 2002
        myNumber = 8.8
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles Button1.Click
        TextBox1.Text = myName
        TextBox2.Text = myYear
        TextBox3.Text = myNumber
    End Sub

End Class

Public Module Module1

    Public myName As String
    Public myYear As Integer
    Public myNumber As Double


    'When you declare your variables and definitions
    'in a module, they become public for the entire project..
    'You may also write your public prosedures or functions in a module.

    'Modules are useful for larger projects when you
    'want some of your variables or definitions to be globally accessed.
    'The Option Explicit call is used for variable name debugginng


End Module


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