Results 1 to 5 of 5

Thread: How to make a form load when idle?

  1. #1

    Thread Starter
    Hyperactive Member Bearnerd's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    290

    Question How to make a form load when idle?

    I want to know how to make a form load after 5 minutes which means I do not click any button (idle) for the last 5 minutes in my main form. Hope you understand what I mean. It should works similar with the windows screensaver. Thanks 4 any help

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: How to make a form load when idle?

    use timer

  3. #3

    Thread Starter
    Hyperactive Member Bearnerd's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    290

    Re: How to make a form load when idle?

    Yes I know I can use timer to load a form but what I really need is that if I move the mouse around the timer won't start. This mean whenever I move the mouse the timer is reset until I leave the mouse idle for 5 minutes. Anyway thanks for your reply.

  4. #4
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: How to make a form load when idle?

    Activate the Timer when Userform_LostFocus()
    Disable Timer when Userform_GotFocus()


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  5. #5

    Thread Starter
    Hyperactive Member Bearnerd's Avatar
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    290

    Re: How to make a form load when idle?

    Can U please give a simple example? I just get really confused doing my project now

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