473,395 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Instaling service

Hi!
Using VB.Net I've created a Windows Service and it's installer. I need
service to be interactive with the descop - I'm sure that's just something
easy inside instaler (for example: Intreactive = True) but I simply can't
find it...
Anybody?
It's very important for me - please help!
Nov 20 '05 #1
2 1136
Windows services are not intended to be interactive with the desktop; they
are meant to be processes that run independant of any session so they can
run with no user logged in and in multiple user environments.

If you need to interact with the desktop, consider placing a shortcut to
your program in the Startup folder and having it execute whenever a user
logs in. Another option could be to write another App that interacts with
your service that is run by a user on a per sessions basis (ie your service
is running all the time but when each user logs in, they can run an
application that communicates with your service and allows them to interact
with it).

I hope that helps.

--
Michal Sampson
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
From: "zurg" <zu**@wp.pl>
Subject: Instaling service
Date: Mon, 10 Nov 2003 11:36:37 +0100
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <ON**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: ip-213-17-240-162.netia.com.pl 213.17.240.162
Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
..phx.gbl!TK2MSFTNGP11.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:155428
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hi!
Using VB.Net I've created a Windows Service and it's installer. I need
service to be interactive with the descop - I'm sure that's just something
easy inside instaler (for example: Intreactive = True) but I simply can't
find it...
Anybody?
It's very important for me - please help!


Nov 20 '05 #2
I'm afraid it doesn't help...
Because I need a service to interact with descop to interact with one of my
applications. It's posible because if I install it using srvinstw tool I can
point that it can interact with deskop... and can interact with my app
But when I install it normal way (creating setup, installer and so on) I
have no idea where to point that and I have no communication with my app...

zurg

Użytkownik "Michal Sampson [MSFT]" <mi******@online.microsoft.com> napisał w
wiadomo¶ci news:6F**************@cpmsftngxa06.phx.gbl...
Windows services are not intended to be interactive with the desktop; they
are meant to be processes that run independant of any session so they can
run with no user logged in and in multiple user environments.

If you need to interact with the desktop, consider placing a shortcut to
your program in the Startup folder and having it execute whenever a user
logs in. Another option could be to write another App that interacts with
your service that is run by a user on a per sessions basis (ie your service is running all the time but when each user logs in, they can run an
application that communicates with your service and allows them to interact with it).

I hope that helps.

--
Michal Sampson
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
From: "zurg" <zu**@wp.pl>
Subject: Instaling service
Date: Mon, 10 Nov 2003 11:36:37 +0100
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <ON**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: ip-213-17-240-162.netia.com.pl 213.17.240.162
Path:

cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:155428
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hi!
Using VB.Net I've created a Windows Service and it's installer. I need
service to be interactive with the descop - I'm sure that's just somethingeasy inside instaler (for example: Intreactive = True) but I simply can't
find it...
Anybody?
It's very important for me - please help!

Nov 20 '05 #3

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

Similar topics

9
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
7
by: Mike | last post by:
I want to create a windows service that will monitor another window service. what i need for the service to do is, if a service is stopped I need it to start the service back up example: ...
9
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
2
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property...
4
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
4
by: carson | last post by:
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a...
20
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
1
by: Camacho | last post by:
Hi Everyone, I'm trying to install one new app in server 2003, It was made in C# ASP.NET, and it Uploads files to um subfolder of my webapp. But it doesn't execute in Server 2003 only in my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...

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.