User Profile

Collapse

Profile Sidebar

Collapse
pakaulaw
pakaulaw
Last Activity: Oct 18 '08, 02:47 AM
Joined: Sep 30 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pakaulaw
    replied to how to trap this?
    Private Sub BurnText1_KeyUp (KeyCode As Integer, Shift As Integer)

    If (KeyCode >= 48 And KeyCode <= 57) Or (KeyCode >= 96 _
    And KeyCode <= 105) Or (KeyCode = 8) Or (KeyCode = 32) Or (KeyCode = 191) _
    Or (KeyCode = 110) Then
    Else
    BurnText1.Text = ""
    End If
    End Sub

    that's the code i've used and it works like a charm.. now, if you want to trap for...
    See more | Go to post

    Leave a comment:


  • pakaulaw
    replied to how to trap this?
    its ok guys.. i used the vbkey constants so that any values entered other than the supposed to be values only would be "cleared" right away.
    See more | Go to post

    Leave a comment:


  • pakaulaw
    started a topic how to trap this?

    how to trap this?

    in a textbox, users should input numbers and if letters are inputted, it will create an error that only numbers are accepted. please help me. i am using vb6 and windows xp. thanks.
    See more | Go to post
    Last edited by pakaulaw; Sep 30 '08, 06:14 AM. Reason: update
No activity results to display
Show More
Working...