Launching Windows Forms Window from Web Services call

A

awu

Is there a reason why I can't launch a WinForm Window from within a Web
Services method invocation?

Thanks,
-Andy
 
D

Dan Rogers

Hi Andy,

Yes. There are good reasons you shouldn't do this. First off, there is no
active desktop, and the forms methods require a logged in desktop for them
to work. Web services (servers side) run as threads managed by IIS - and
since there is no desktop for the logged in IIS process, you cannot make
code running on those threads launch local forms.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
 

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,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top