Results 1 to 4 of 4

Thread: Can a timers 'interval' be Set via a Textbox value edited on a windows form?

Threaded View

  1. #1

    Thread Starter
    Addicted Member jalexander's Avatar
    Join Date
    Jan 2011
    Location
    Memphis, TN
    Posts
    160

    Question Can a timers 'interval' be Set via a Textbox value edited on a windows form?

    I have a timer set at 250000 after I click "start" on my program (i.e. it doesn't start till i tell it to). My question is...if I place Textbox22.Text on my form...Can edit the timer pause in the program on the fly (*aka already compiled*) via that Textbox22.Text & If so how do I do it. Can I just place Textbox22.Text in place of seconds on the actual timer edit window in my visual studio GUI? And just have Textbox22's text already set to 250000? (then later i can change it before starting the program/timer to achieve a different delay before the timer pops off) If not how would I go about making a timer's amount of time editable via the compiled windows form?

    I originally did a google search & came up with this msdn forum post http://social.msdn.microsoft.com/For...5-139b0b597546
    So i did my homework before posting...its just that post is way over my head & complicated for me. I think that person's needs were not as simple as mine.

    Any example is appreciated! And I always make sure to give thanks for all replies * well the ones not making fun of me anyways *

    Thanks Bunches! GoOse
    Last edited by jalexander; Nov 28th, 2012 at 01:06 AM. Reason: updated thread title to be more descriptive & fixed my dyslexic spelling errors
    dim jenn as geek = true
    Learning ~ Visual Basic 2010 ~ in free time between college/work -
    currently looking for a 'programming buddy' / 'coder friend' / and or 'mentor'. p.m. me if you
    have ANY free time AT ALL I'm like 33% of a novice level ~ willing 2 listen/learn +
    i am totally super motivated & promise to make an effffin amazing protege!!! #swag

    | -_-_- -_-_- |
    ...W.T..F!?.....
    ||| Matter on the atomic/quantum level isn't solid or even matter at all. It can also exist in at least 2 places simultaneously (demonstrated in lab). It's position can only be established when it's actually observed. If we turn our back on it... it goes back to a wave form. History show's that every previous generation (since the beginning of time) got almost everything wrong. Then it might very well stand to reason that up is down & right can be wrong. Admit it.. our combined perception of reality is just that, we know absolutely nothing of actual reality & to think we do is simply subscribing to a "ignorance is bliss" mantra |||

Tags for this Thread

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