-
December 10th, 2012, 03:22 AM
#1
HELP!! How to prevent Input of Alphabets in the code below >>>
Thanks Guys Problem Solved For That Part
---------------------------------------------------------
POST EDITED BY HanneSThEGreaT to reflect original question
---------------------------------------------------------
Do
StudentDetails(X).English = InputBox("Please Enter English Marks")
If StudentDetails(X).English < 0 Or StudentDetails(X).English > 100 Then
MessageBox.Show("Invalid input!""Please enter a value not More then 100 or Less then 0!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
End If
Loop While (StudentDetails(X).English < 0 Or StudentDetails(X).English > 100)
-------------------------------------------------------------
Last edited by HanneSThEGreaT; December 11th, 2012 at 03:59 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|