Complete Nubie to VB Need Help

Author Message
LMWilhelm

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 4/15/2010
  • Status: offline
Complete Nubie to VB Need Help Thursday, April 15, 2010 5:16 PM (permalink)
0
Complete Nubie to VB and first experience with Posting need some Help with VB

 Note: Program to be used with Touch Screen. (No keyboard or mouse)
        TODO: Get Login form to allow the input of values from clicking on Buttons 1 thru 0.*,#   
        NOTE: Not using a user Name Just a Password

    public Class LoginForm1
  
    'NOTE: Not using a user Name Just a Password'

   'Enter Button'
    Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
        Me.Close()
    End Sub


    Private Sub PasswordLabel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PasswordLabel.Click

    End Sub

    Private Sub PasswordTextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PasswordTextBox.TextChanged, Button2.Enter, Button1.Enter
        Me.PasswordTextBox.MaxLength = (9)

    End Sub
    'Button 1'
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.PasswordTextBox.Text = +"1"
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Me.PasswordTextBox.Text = +"2"
    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        Me.PasswordTextBox.Text = +"3"
    End Sub

    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        Me.PasswordTextBox.Text = +"4"
    End Sub

    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        Me.PasswordTextBox.Text = +"5"
    End Sub

    Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
        Me.PasswordTextBox.Text = +"6"
    End Sub

    Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
        Me.PasswordTextBox.Text = +"7"
    End Sub

    Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click

    End Sub

    Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click

    End Sub
    'Button 0'
    Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click

    End Sub
    'Button *'
    Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click

    End Sub
    'Button #'
    Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click

    End Sub
    'Clear Button'
    Private Sub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button13.Click
        Me.PasswordTextBox.ResetText() REM Cursor dissappering on clear from text box Rem
        'Me.PasswordTextBox.Cursor()'  Rem This does not work to put Cursor back in Text Box rem
    End Sub
End Class

LWilhelm
 
#1
    ebgreen

    • Total Posts : 8219
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: offline
    Re:Complete Nubie to VB Need Help Friday, April 16, 2010 12:02 AM (permalink)
    0
    First, this is a VBScript forum. The code that you posted is VB .Net. Two completely different languages. Second, when you post a question, you should make it a question. You posted a statement (that you are new to VB) and some code. What is your question?
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2
      ginolard

      • Total Posts : 1347
      • Scores: 23
      • Reward points : 0
      • Joined: 8/11/2005
      • Status: offline
      Re:Complete Nubie to VB Need Help Monday, April 26, 2010 7:25 PM (permalink)
      0
      There are SOME VB.NET people on here who would be glad to help if you just explain what your problem is.  However, might I recommend http://www.vbforums.com/?

      It's a very helpful forum (though, like here, they expect you to TRY and figure stuff out on your own)
      Author of ManagePC - http://managepc.net

       
      #3

        Online Bookmarks Sharing: Share/Bookmark

        Jump to:

        Current active users

        There are 0 members and 1 guests.

        Icon Legend and Permission

        • New Messages
        • No New Messages
        • Hot Topic w/ New Messages
        • Hot Topic w/o New Messages
        • Locked w/ New Messages
        • Locked w/o New Messages
        • Read Message
        • Post New Thread
        • Reply to message
        • Post New Poll
        • Submit Vote
        • Post reward post
        • Delete my own posts
        • Delete my own threads
        • Rate post

        2000-2012 ASPPlayground.NET Forum Version 3.9