Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2002
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Clear Textboxes with integers inside using visual basic

    hi, any kind souls know how to clear Textboxes with integers inside using visual basic??

    coz i tried for example Text1.Text = " ". There is an error saying mismatch.

    thanks!

  • #2
    New Coder
    Join Date
    Oct 2002
    Location
    nj
    Posts
    43
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Text1.Text="" should do it. It doesn't really matter whether it is a char or integer. You should step into your program to see what actually causes that error. Do you have any events in this TextBox?

    Thanks,
    Ray


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •