Results 1 to 2 of 2

Thread: Val(Text1) equivalent in Windows CE

  1. #1
    TomTraxler
    Guest
    When I use Val(Textbox) it returns a 0 when the .text entry is not a number. What is the equivalent in Windows CE? When I use Csng(Textbox) I get an error message if the .text entry is not a number. I want to return the number that is in the textbox (or 0 if not a number).

  2. #2
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    not sure about CE but you can also do this:

    Code:
    Dim intA as single
    
    intA = text1.text
    NXSupport - Your one-stop source for computer help

Posting Permissions

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



Click Here to Expand Forum to Full Width