C# School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a C# Expert!

Join 308,429 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 3,259 people online right now. Registration is fast and FREE... Join Now!




Background service

 

Background service

javagoutom

16 Jun, 2009 - 01:49 AM
Post #1

D.I.C Head
**

Joined: 20 Sep, 2007
Posts: 51


My Contributions
Hi everyone..... i m making a event reminder that will run at startup as a service without showing any window and serach for the event for next 7 days and pop it up as ballon tip text. My code is running and showing all the ballon tip text on load event but now what i am facing problem that how can i make it run at windows startup as a service so that when a user opens the software it just dont start a new instance it should carry what is goin on in background like that of antivirus and many other software works. I thought to add its reference to registry at run node but it will run the software not just load it. PLZ HELP ME TO COMPLETE THIS.........



THANKS IN ADVANCE.................

User is offlineProfile CardPM
+Quote Post


RudiVisser

RE: Background Service

16 Jun, 2009 - 02:54 AM
Post #2

.. does not guess solutions
Group Icon

Joined: 5 Jun, 2009
Posts: 1,891



Thanked: 139 times
Dream Kudos: 125
Expert In: PHP, MySQL, HTML, CSS, C#

My Contributions
QUOTE(javagoutom @ 16 Jun, 2009 - 01:49 AM) *

Hi everyone..... i m making a event reminder that will run at startup as a service without showing any window and serach for the event for next 7 days and pop it up as ballon tip text. My code is running and showing all the ballon tip text on load event but now what i am facing problem that how can i make it run at windows startup as a service so that when a user opens the software it just dont start a new instance it should carry what is goin on in background like that of antivirus and many other software works. I thought to add its reference to registry at run node but it will run the software not just load it. PLZ HELP ME TO COMPLETE THIS.........



THANKS IN ADVANCE.................

In Visual Studio, there is a seperate type of project to create a Windows Service, you should use that. Services arn't normal applications.
User is offlineProfile CardPM
+Quote Post

born2c0de

RE: Background Service

16 Jun, 2009 - 03:05 AM
Post #3

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,550



Thanked: 99 times
Dream Kudos: 2825
Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Read this for more information on creating a service in C#
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/24/09 01:52PM

Live C# Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month