How do I test whether a strign contains only numeric characters?
is the anything like IS NUMERIC or something in vb
numeric testing in vb 6.0numeric testing in vb 6.0
Page 1 of 1
1 Replies - 3567 Views - Last Post: 30 November 2008 - 12:25 PM
Replies To: numeric testing in vb 6.0
#2
Re: numeric testing in vb 6.0
Posted 30 November 2008 - 12:25 PM
This is the basic code. Modify it, or make array and store the position and the numbers of the numerical characters
Vace
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) If IsNumeric(Chr(KeyCode)) Then MsgBox "The cahracter is numeric!!!",vbInformation End Sub
Vace
This post has been edited by VB Crash: 30 November 2008 - 12:25 PM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|