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

    'Declare arrays
    Dim myArray(9) As Integer
    Dim myStrArray(2) As String
    Dim my2DArray(2, 2) As Double

    Private Sub Form1_Load(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles MyBase.Load

        Dim i, j As Integer

        'define arrays
        myStrArray(0) = "Apron"
        myStrArray(1) = "Tutorials"

        For i = 0 To 9
            myArray(i) = i
        Next i

        Dim count As Integer

        For i = 0 To 2
            For j = 0 To 2
                count = count + 1
                my2DArray(i, j) = 1.1 * count
            Next j
        Next i
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles Button1.Click

        Dim i, j As Integer

        'Display arrays
        TextBox1.Text = myStrArray(0) & " " & myStrArray(1)

        For i = 0 To 9
            TextBox2.Text = TextBox2.Text & myArray(i) & " "
        Next i

        For i = 0 To 2
            For j = 0 To 2
                TextBox3.Text = TextBox3.Text & my2DArray(i, j) & " "
            Next j
        Next i
    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