Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Creating Timers

All the controls you used in Hour 7 had in common the fact that the user can interact with them. Not all controls have this capability—or restriction, depending on how you look at it. Some controls are designed to be used only by the developer. One such control is the Open File Dialog control you used in your Picture Viewer application in Hour 1, “Jumping in with Both Feet: A Visual Basic 2010 Programming Tour.” Another control that’s invisible at runtime is the Timer control. The Timer control’s sole purpose is to trigger an event at a specified time interval.

Follow these steps to build a timer sample project:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint