Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / February 2006

Tip: Looking for answers? Try searching our database.

Toolbox Components Timer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kingry - 10 Jan 2006 18:46 GMT
I am trying to create a service application using VB.NET (VS 2005) and I need
to use the "system.timers.timer" class.  However when I drag the timer from
the toolbox from either components or windows forms I end up with the
"system.windows.forms.timer".  I read that the one in the components area was
supposed to be the "system.timers.timer" not the "system.windows.forms.timer".

Has anyone else noticed this?
Chris - 07 Feb 2006 20:57 GMT
Yes!  This was driving me crazy.  Turns out if you look in the VS menu under Tools, there's an option "Choose Toolbox Items".  Scroll down to Timer and you'll see that System.Timers.Timer is unchecked.  If you check it, it will replace the forms timer under the commoncontrols tab.  I find I have to drag and drop a timer to figure out which one it'll turn out to be.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.