Opening windows form from webservice

P

pintu

Hi Friends,
I am creating one application in asp.net 2.0,c# and requirement is to
open a winform while starting window and call the webservice to update
some information entered in the form.Now my requirement is to use
windows service to open the form..(Though i can use windows
application and put the exe in start-up folder to fullfil my
requirement)..And the form will take input from user.

So is it possible to open any form from Windows Service? I am trying
it since last few hours but failed to do so..Plz help..Waiting for ur
reply..


Thanks in advance.
priyabrata
 
B

bruce barker

in general no. a windows service does not have access to the desktop.
this makes sense if you think about it. the user can logout and login in
as another user.

-- bruce (sqlwork.com)
 
G

Guest

You really don't want to try to use a Windows Service to open any Forms or
applications that have a UI. Services start and run before any user is even
logged into the machine.
What you can do instead is put a shortcut to your application in the
/Startup folder and it will run as soon as a user has logged on to the
machine.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top