Results 1 to 3 of 3

Thread: [RESOLVED] Taking and manipulating numbers from a textbox

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2005
    Posts
    248

    Resolved [RESOLVED] Taking and manipulating numbers from a textbox

    Hi all,

    I have a program that needs to take the numbers that the user inputs into a textbox out into a "Long" (maybe?) variable and reduce them (It's the number of seconds for a timer, so I need to reduce it by 1 on each iteration.

    The problem is, however I try it, if I try and take the value from the text box (say, "123") and put that value into a integer/long variable, I get a type mismatch error. I also tried making the variable a string, but then I got a type mismatch when it got to the "Variable = variable - 1" line.

    Any ideas?

  2. #2

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2005
    Posts
    248

    Re: Taking and manipulating numbers from a textbox

    Ahh! Thank you ^_^

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