473,396 Members | 1,810 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,396 software developers and data experts.

Calling a GUI in windows service

I am using VS.Net 2002 with windows 2000 advanced server and windows 2000
professional. I have a requirement to use windows service with a GUI.

I want to show my own User Interface(Dialog) to get user input, before
windows login screen. For that I have created a windows service, in the
onstart event of this service, I am calling a vb.net exe, which has windows
form. But it throws error bcoz of the form. I even tried by calling a vb.net
dll from windows service with a msgbox in the dll ,i am getting the same
problem.
During this error, the DEBUG points to the form in the code.

Can someone please suggest a solution.

TIA,
Gary
Nov 20 '05 #1
3 8534
"Gary" <ms****@microsoft.com> wrote in
news:#5**************@TK2MSFTNGP12.phx.gbl:
I want to show my own User Interface(Dialog) to get user input, before


What kind of input? Does this input change each time the service starts?
Perhaps you can collect this input during the installation and store it in
a configuration file. Then if you need to change it, either edit the
config file or have a windows app that configures the service.

Nov 20 '05 #2
Thanks Tom,

I want to know whether a windows service which is created in vb.net can be
installed on windows 98 .
If so.... how ?

Please help me.
Thanks again,
Gary

"Tom Spink" <th**********@ntlworld.com> wrote in message
news:en**************@TK2MSFTNGP10.phx.gbl...
Unfortunately, you can't just load a program before the login screen and
display it, because the Login screen is on a separate desktop.

You will have to write a Windows GINA to do this, which is not possible in
any .NET language, only C++ or Delphi.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit
"Gary" <ms****@microsoft.com> wrote in message
news:#5**************@TK2MSFTNGP12.phx.gbl...
I am using VS.Net 2002 with windows 2000 advanced server and windows 2000 professional. I have a requirement to use windows service with a GUI.

I want to show my own User Interface(Dialog) to get user input, before
windows login screen. For that I have created a windows service, in the
onstart event of this service, I am calling a vb.net exe, which has

windows
form. But it throws error bcoz of the form. I even tried by calling a

vb.net
dll from windows service with a msgbox in the dll ,i am getting the same
problem.
During this error, the DEBUG points to the form in the code.

Can someone please suggest a solution.

TIA,
Gary


Nov 20 '05 #3
Hello,

"Gary" <ms****@microsoft.com> schrieb:
I want to know whether a windows service which is created in vb.net can be
installed on windows 98 .
If so.... how ?


No---MSDN:

<msdn>
Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000,
Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
</msdn>

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #4

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

Similar topics

0
by: Michael Brandt Lassen | last post by:
Hi gurus This problem is about calling Web services secured by Forms Authentication from Windows Forms user controls embedded in HTML. Using the object tag I’ve managed to include a Windows...
3
by: belgiozen | last post by:
Hi, I have a working windows service,it is looking for files on the disk and when some of the files are cupdated it calls an executable. But it takes a lot of time(about 10 minutes) to run the...
1
by: Bucky Pollard | last post by:
I have a web service that needs to create a batch file and call it (since there are no APIs for the functionality I am looking for). I am using the Process and ProcessStartInfo objects. When I try...
3
by: Mike | last post by:
Timeout Calling Web Service I am calling a .NET 1.1 web service from an aspx page. The web service can take several minutes to complete its tasks before returning a message to the aspx page. ...
1
by: Jaime Stuardo | last post by:
i all, I have a web service in a Windows 2003 Server machine and ASP.NET 2.0. The website has windows integrated security so that, in order to allow domain users to connect to it, I add...
5
by: joeblast | last post by:
I have a Web service that gets the financial periods and hold a reference to a disconnected dataset built at initialization. Web methods work on the dataset inside the web service. Everything is...
1
by: Manuel Brandao | last post by:
Hi all I would like to now the answer to the following problem, if someone can help. Given a windows application client that's calling a web service (using default credentials) the web...
7
by: GD | last post by:
Hi, I am trying to call a webservice from a windows service application. It works only if I launch the windows service app from VS.Net 2005 (Worked around from Main()) or from a winform test...
1
by: samdediacre | last post by:
Hi all, I have developped a very simple Windows service that references a managed .NET dll. the code within the dll contains a static class to read/write data from registry. So the OnStart()...
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:
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.