It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

Basic code help for begginer

Moderator: dafunkymunky

Postby fred666777 on Thu May 31, 2007 1:04 am

im not exactly sure what you mean.........
like this????

Code: Select all
Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim a As Integer = 10
        Dim b As Integer = 102
        Dim c As Integer = 4
        TextBox1.Text = a
        TextBox2.Text = b
        TextBox3.Text = c
        If TextBox1.Text = a Then
            TextBox4.Text = a
        Else : TextBox4.Text = ""
            If TextBox2.Text = b Then
                TextBox5.Text = b
            Else : TextBox5.Text = ""
                If TextBox3.Text = c Then
                    TextBox6.Text = c
                Else : TextBox6.Text = ""
                End If

            End If
        End If
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        TextBox1.Text = ""
        TextBox2.Text = ""
        TextBox3.Text = ""
    End Sub
End Class



if this is not what you mean you can post again or i can better help you if you IM me at Hellogoodbyea@aim.com
fred666777
 
Posts: 9
Joined: Mon May 28, 2007 3:54 am

Previous

Who is online

Users browsing this forum: No registered users and 1 guest