PC Review


Reply
Thread Tools Rate Thread

Calling a GUI in windows service

 
 
Gary
Guest
Posts: n/a
 
      27th Aug 2003
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


 
Reply With Quote
 
 
 
 
Chris Dunaway
Guest
Posts: n/a
 
      27th Aug 2003
"Gary" <(E-Mail Removed)> wrote in
news:#(E-Mail Removed):

> 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.

 
Reply With Quote
 
Gary
Guest
Posts: n/a
 
      28th Aug 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
> > 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
> >
> >

>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      28th Aug 2003
Hello,

"Gary" <(E-Mail Removed)> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
calling a windows service =?Utf-8?B?Q0xFQVItUkNJQw==?= Microsoft Dot NET 3 12th Aug 2005 02:31 PM
VB 6 app calling C# windows service =?Utf-8?B?Y3liZXJzdHJpa2U=?= Microsoft Dot NET Framework 2 7th Jun 2005 05:19 PM
VB 6 app calling C# windows service =?Utf-8?B?Y3liZXJzdHJpa2U=?= Microsoft Dot NET 1 3rd Jun 2005 10:02 AM
Calling a static method from within a C# windows service causes the service to hang? Microsoft C# .NET 3 15th Mar 2004 03:03 PM
Calling a GUI in windows service Gary Microsoft Dot NET Framework 1 27th Aug 2003 09:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:18 PM.