Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
VB.NET
Windows Services
Windows Service with a notifyicon in the system tray
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="sakiv" data-source="post: 2732" data-attributes="member: 1305"><p>Hi all</p><p></p><p>I had created a windows service and also had included a notifyicon to display in the system tray. But the problem is that when i install the service everything goes well, it installs and starts running but it does not show the icon in the system tray, no exceptions or errors are coming. Here is the code for the notifyicon that I had used :</p><p></p><p>Me.icoGPS.ContextMenu = Me.mnuGPS</p><p>Me.icoGPS.Icon = CType(resources.GetObject("icoGPS.Icon"), System.Drawing.Icon)</p><p>Me.icoGPS.Text = "GPS Server"</p><p>Me.icoGPS.Visible = True</p><p></p><p>This code is executing in the InitializeComponent()</p><p></p><p>Please let me know if someone has done it successfully. You can also email me the response.</p><p></p><p>Thanks</p></blockquote><p></p>
[QUOTE="sakiv, post: 2732, member: 1305"] Hi all I had created a windows service and also had included a notifyicon to display in the system tray. But the problem is that when i install the service everything goes well, it installs and starts running but it does not show the icon in the system tray, no exceptions or errors are coming. Here is the code for the notifyicon that I had used : Me.icoGPS.ContextMenu = Me.mnuGPS Me.icoGPS.Icon = CType(resources.GetObject("icoGPS.Icon"), System.Drawing.Icon) Me.icoGPS.Text = "GPS Server" Me.icoGPS.Visible = True This code is executing in the InitializeComponent() Please let me know if someone has done it successfully. You can also email me the response. Thanks [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
VB.NET
Windows Services
Windows Service with a notifyicon in the system tray
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom