469,924 Members | 1,365 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,924 developers. It's quick & easy.

how to create an application where there is no form but ONLY a notify icon

Neo
i'd like to create an application which would run in the background, &
there'd be an icon in the system tray (can use the notify icon).
But HOW can i make the form invisible.

What i'd like to do is, when the exe is run, ONLY the icon should appear in
the system tray & nothing else.
& if necessary the user can click on the icon & there'd be a menu to load
the necessary forms.

How can i do this.
What is the project type ? Windows form? Class Library?
What is the startup object & how do i keep the exe from running without a
form??

Regards,

Neo
Nov 21 '05 #1
6 2417
there is a sample that comes with cd.

Neo wrote:
i'd like to create an application which would run in the background, &
there'd be an icon in the system tray (can use the notify icon).
But HOW can i make the form invisible.

What i'd like to do is, when the exe is run, ONLY the icon should appear in
the system tray & nothing else.
& if necessary the user can click on the icon & there'd be a menu to load
the necessary forms.

How can i do this.
What is the project type ? Windows form? Class Library?
What is the startup object & how do i keep the exe from running without a
form??

Regards,

Neo


Nov 21 '05 #2
Neo
Excellent,
The solution is using "Application.Run()"

Thanx

"Supra" <su*****@rogers.com> wrote in message
news:u#**************@TK2MSFTNGP14.phx.gbl...
there is a sample that comes with cd.

Neo wrote:
i'd like to create an application which would run in the background, &
there'd be an icon in the system tray (can use the notify icon).
But HOW can i make the form invisible.

What i'd like to do is, when the exe is run, ONLY the icon should appear inthe system tray & nothing else.
& if necessary the user can click on the icon & there'd be a menu to load
the necessary forms.

How can i do this.
What is the project type ? Windows form? Class Library?
What is the startup object & how do i keep the exe from running without a
form??

Regards,

Neo

Nov 21 '05 #3
Neo
Another query,
How can i create a windows Service with a an interface.
I've tried to create a windows server & setup a notify icon, but it never
seems to appear!!!

"Neo" <ne*@learning.net> wrote in message
news:OF**************@TK2MSFTNGP11.phx.gbl...
i'd like to create an application which would run in the background, &
there'd be an icon in the system tray (can use the notify icon).
But HOW can i make the form invisible.

What i'd like to do is, when the exe is run, ONLY the icon should appear in the system tray & nothing else.
& if necessary the user can click on the icon & there'd be a menu to load
the necessary forms.

How can i do this.
What is the project type ? Windows form? Class Library?
What is the startup object & how do i keep the exe from running without a
form??

Regards,

Neo

Nov 21 '05 #4
"Neo" <ne*@learning.net> schrieb:
i'd like to create an application which would run in the background, &
there'd be an icon in the system tray (can use the notify icon).
But HOW can i make the form invisible.


SimpleNotifyIcon
<URL:http://dotnet.mvps.org/dotnet/samples/windowsandforms/SimpleNotifyIcon.zip>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #5
"Neo" <ne*@learning.net> schrieb:
How can i create a windows Service with a an interface.
I've tried to create a windows server & setup a notify icon, but it never
seems to appear!!!


Services typically don't have a UI. Instead, a "client" application that
communicates with the service (sockets, remoting, events) provides the user
interface for the service.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #6
Neo
Windows services can have interfaces,
all thats required is to setup the windows server for this,

In the Log On page of the properties screen of the windows service, we need
to enable the option "Allow service to interact with desktop"

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:u2**************@TK2MSFTNGP11.phx.gbl...
"Neo" <ne*@learning.net> schrieb:
How can i create a windows Service with a an interface.
I've tried to create a windows server & setup a notify icon, but it never seems to appear!!!
Services typically don't have a UI. Instead, a "client" application that
communicates with the service (sockets, remoting, events) provides the

user interface for the service.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Beenish Sahar Khan | last post: by
reply views Thread by Kevin White | last post: by
4 posts views Thread by Grumpy Aero Guy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.