View Full Version : Asking if something is an integer
jhildy
08-25-2007, 02:47 AM
im making a program that write things to a file but i want the edit box to only accept numbers how can i do this?
also how can i convert strings and integers to each other.
Sumilion
08-25-2007, 09:05 AM
I wouldnt know an easy way of your first problem, but your second one :
IntToStr();
StrToInt();
StrToIntDef(); (Default)
jhildy
08-25-2007, 04:08 PM
really??
edit: nah sum this is vb forum not normal scar.
supershort3
01-05-2008, 05:37 AM
if IsNumeric(Text1) Then
//Code Here
End If
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.