473,938 Members | 3,750 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows service notification icon

Hi,
I made a 'windows services' which works well. When I added a notificaton
icon, the icon apeared in the tray bar but when I clicked it, no events came
into my service. (I did allowed the service to intercat with the desktop).
Can you tell me why I can't receive the events?
Thank you
--
Rafi
Israel

Apr 1 '07 #1
1 1861
On Sun, 1 Apr 2007 05:10:02 -0700, Rafi wrote:
Hi,
I made a 'windows services' which works well. When I added a notificaton
icon, the icon apeared in the tray bar but when I clicked it, no events came
into my service. (I did allowed the service to intercat with the desktop).
Can you tell me why I can't receive the events?
Thank you
It is not recommended for a service to interact directly with the desktop.
What I suggest is that you develop a second application that interacts with
the service using a service controller to control the service.
--
Bits.Bytes
http://bytes.thinkersroom.com
Apr 1 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
10343
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
6
9928
by: Action | last post by:
I can add a systray icon in normal windows application... but when i do it in windows service, the systray icon just don't show up is that because i don't have any "component" to contain the systray icon? please give direction... thx
2
1906
by: Blaz | last post by:
I have a windows service that does some stuff. It runs a couple of batch files. After the successful execution of a batch file I need to display some sort of notification to the end user that the job did infact complete successfully.(Note: Once the jobs are completed the service simply keeps checking a folder on the network for more files to process, if it doesnt find them it just sits and does nothing. It checks every minute and works...
3
8424
by: Seymen Ertas | last post by:
Hey anyone seen this before ? I followed examples from microsoft and added a notifyicon to my windows service project and i can't get the icon to show up. Here is a checklist of what i have tried so far: 1) Tried to make the icon 16x16 2) Made sure the icon was embedded into the exe. 3) Made sure the visible flag was set to true. 4) Included the content output from the project in the installer.
3
13585
by: Mats-Lennart Hansson | last post by:
Hi, I'm having a hard time getting my service to show a sys tray icon. I've tried to create a separate Windows application where I simply add a notification icon to the form. In the OnStart method of the service I simply try to start the windows application which then should show the icon. I can't get it to work! When I run the separate Windows application the icon turns up, but when I start it from the service it doesn't. How should I...
3
1947
by: Brent Burkart | last post by:
I haven't dived into creating my windows service yet, but after looking around I have not discovered how to make the service icon appear in the lower right hand corner and how to make a menu to allow the user to change configurations. Any thoughts or directions are appreciated. Thanks, Brent
1
3461
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm going wrong. The program has been written to do the following tasks: - Select remote server - Select from two specific services
13
1966
by: NG | last post by:
Hi All I made a windows service in C#. Now I have a situation where I need to invoke an exe with some UI. Assuming that the computer running this service will always be logged in, can anyone please provide me a sample code to invoke an exe from windows service in .net. I tried a few methods that I found on the net but they seem to invoke something in the background which actually does not work. Any help is much appreciated. Thanks in...
0
10132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9963
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11516
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10653
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9854
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7378
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.