By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,661 Members | 779 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,661 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
"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

P: n/a
"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

P: n/a
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.