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 6 2576
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
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
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
"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/>
"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/>
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/>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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
|
by: Claire |
last post by:
Windows refuses to close down if my applications main form is hidden and
there's a notify icon in the system tray. If I restore the form, then
shutting down Windows succeeds.
If I comment out the...
|
by: Beenish Sahar Khan |
last post by:
I am using C#.I want to start my application so that its notify icon is
added to the
system tray, i don't want to show any starting form. I want user to interact
through the notify icon...just...
|
by: Kevin White |
last post by:
I have a couple questions:
1- I have a question about using icons in my project. I have added an
icon and have successfully used it for the notify icon, for forms in
their title bar, and for...
|
by: Grumpy Aero Guy |
last post by:
I've looked far and wide, but can't find any info on this.
I have found the property for a FORM that allows you indicate whether, or
not, the form appears in the TASK BAR...
What about if I...
|
by: Markus Stoeger |
last post by:
Hi,
I have a problem with Application.Run() when Windows is shutting down.
Please have a look at the copy&paste example program below.
The application has no forms. It has only got a notify...
|
by: max |
last post by:
Hello,
I am a newbye, and I'm trying to write a simple application.
I have five tables with three columns; all tables are identical; I need to
change some data in the first table and let VB...
|
by: etuncer |
last post by:
Hello All,
I have Access 2003, and am trying to build a database for my small
company. I want to be able to create a word document based on the data
entered through a form. the real question is...
|
by: Joseph Geretz |
last post by:
The conventional approach is easy enough; drop a NotifyIcon onto a Form.
When the form is loaded - bingo - the icon appears in the System Tray.
I can't use this approach though. I'm writing a...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |