简体   繁体   中英

How to show pop-up?

I have a windows service and form application. I have the installed service and both codes are correct.

But my problem is, when I run my service it generates a dialog of

View the message or Ask me later dialog box

When I select first option of 'View the message' then it shows my Form Application.

I know this is generated because of Interactive Service Detection . But when I disabled IDS from services, and then I try to run my service then it doesn't show my Form Application?

If your services runs under the LOCALSYSTEM account then you can check "Allow service to interact with desktop", for the benefit of legacy services that would fail if they could not show UI. But it won't help you anyway because the UI will show in session 0 where it is never seen!

http://www.microsoft.com/whdc/system/sysinternals/session0changes.mspx

good worth of read.

http://www.codeproject.com/Articles/35773/Subverting-Vista-UAC-in-Both-and-bit-Archite

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM