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 / .NET Framework / Component Services / April 2004

Tip: Looking for answers? Try searching our database.

Problem debugging a service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
VJ - 18 Apr 2004 15:00 GMT
I have a windows service that has a timer control and notifyicon class. For
every 5000 milliseconds the service polls the server to see if new database
records are available, if present it gives a pop-up message through the
notify icon. I have written the code in the timer1_tick event. I am not able
to debug to that event, if I follow the standard debugging procedures
outlined in MSDN. Also if I just compile and release version and deploy it,
I never get any message through the icon. I did try to make the icon
visible/invisible through the service start/stop method which works fine. I
have my timer enabled. I am not sure what would be wrong, as the debug is
not working..

Any help is appreciated..
Thanks
VJ
Ramesh K - 20 Apr 2004 14:30 GMT
you need to unregister the component as service and register as an EXE from
the command prompt,  if the component is built with COM.

Ramesh
> I have a windows service that has a timer control and notifyicon class. For
> every 5000 milliseconds the service polls the server to see if new database
[quoted text clipped - 10 lines]
> Thanks
> VJ

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.