hi Hussain
write the following code in the Change Event of that TextBox and the TextBox 
will only accept numbers
 
If IsNumeric(Text1.Text) = False Then
     Text1.Text = vbNullString
     Text1.SetFocus
End If
 
I am assuming here the name of the TextBox is Text1. try it out and reply to me 
at [EMAIL PROTECTED] if you need any more help feel free to mail me
 
Bye
Mangu

hussaingull <[EMAIL PROTECTED]> wrote:

Dear All,

i want to write only number figure(1234.....) in a text box control
so which property of textbox control use to enable only the numeric 
number not alphabatical and other symbols.

waiting for reply

Regards,
Hussain Ali




Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/visualbasic6programming/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


                
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To reply to this message, go to:
    
http://groups.yahoo.com/group/visualbasic6programming/post?act=reply&messageNum=18252
    Please do not reply to this message via email. More information here:
    http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> To visit your group on the web, go to:  
    http://groups.yahoo.com/group/visualbasic6programming/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to