Shut down Windows 8.1 embedded from within an app

I am developing a windows 8.1 app with microsoft visual studio. The app shall run in an embedded box PC. From within this app I want to be able to completely shut down the computer. Is there some simple way of simulating or acessing windows/shut down function
inside my app? If so, how could I write this in visual studio?

This forum is for Windows POSReady. You might want to try the Mobile Development forum:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowsmobiledev
Sean Liming - Book Author: Starter Guide SIM (WEI), Pro Guide to WE8S & WES 7, Pro Guide to POS for .NET - www.annabooks.com / www.seanliming.com

Similar Messages

  • Shut down window keeps popping up...

    This issue keeps me busy since Snow Leopard already, and I thought it's done with a new Mac (Early MBP this year, migrated via Time machine) or Lion (installed right after launch) - but still there:
    My 15' MBP (early this year) is connected to a 30 inch Cinema Display (one of the last versions available) via an Apple cable ($99).
    Now I disconnect my MBP from the Cinema and work mobile, and not every time, but very often, I come back and connect it back to the Cinema, the "shut down" screen keeps popping up. If i hit cancel, it comes back in seconds. There is no alogorithm to get it going...at some point it just stops. This was partly ok with Snow Leopard, since this screen could have been just moved to a spare part of the screen and I could continue working...but under Lion, you cannot mve it away and work - since the shut down window is dominant and keeps getting activated. I have attached a screenshot of the shut down window so everyone knows what I am talking about. 
    How can I get rid of the issue? It's not a hardware issue, since I had 2 Macbook pros with the same issue...seems to be a software issue.
    Can you help?
    Thanks, Markus

    Never seen or heard about before your posting it here.
    Allan

  • Skype Crashed when shutting down Windows with ASUS Xonar audio

    This has been a problem for a while now. Various updates have (temporarily) fixed it only to have another update come along and re-break it.  Every time I shut down windows 8.1 Skype prevents windows from shutting down because it's crashed and I have to click OK he get skype to go away so my system will shut down or reboot. It's quite annoying.

    I checked this again and found out that the issue is still here.
    I have an assumption that the issue is related to the hybrid power off mode, that was presented in windows 8. As you know, starting from windows 8, your windows never shuts down completely. Memory of the system session (ring 0) is dumped to the disk on windows shut down, and loaded on next windows start. This approach gives us less start up time, but works only if hardware not changed during the shutdown. When you restart your windows it shuts down completely and you can see the difference in a boot time. Because of this new mode windows creators moved some drivers from system session to the user session (printers etc).
    When I disabled all sounds in the skype settings I got following behavior:error appears on shutdownerror doesn't appears on restart.

  • Software upgrade shuts down windows at 'boot ROM"

    I have tried multiple times to upgrade to 4.5 device software from the desktop manager. It always shuts down windows...showing a blue screen, locks up my phone until I remove the battery.....then restart my laptop and it says it recovered from a "fatal error". Tmobile  first told me to download latest version of desktop manager, which I did.  I still have the same problem, then they told me it is my computer and couldn't help me. I have Windows XP w/latest updates.  Anyone have any idea why this is happening? Thank you!

    I am having this exact same problem my phone restarts when updating the software after boot ROM, then it says there has been a fatal error. it does this everytime i try update my software. so any help would be handy.

  • X240 No Power After Shutting Down Windows

    I'm working on X240 Thinkpad which is not powering-up. After replacing the planar it booted but after shutting down Windows, it won't power-up again. I notcied that it powers on again after reseating all battery including the (CMOS battery), but is dead again once you shutdown windows. BIOS FW is updated and its passing the self test. Pressinng the reset button thru pin hole does not solve the issue. It always need resetting all battery (CMOS battery included). Problem does not occur when the thinkpad is not booted to windows and shutdown via power button only. Thanks in advance. Please note that the planar has been replaced for the 2nd time in the span of around 2 months.

    I've had a similar problem with the laptop before this one. I could tell you to try to take the battery out and hold down the power button for 5 seconds and then put the battery back, but that probably won't work. I could tell you to hold down the altcommandp or o and try to reset the ram, but that won't work. Your issue sounds like the power supply and your laptop is most likely dead.
    If you bought it from apple.com you will have to return it and deal with the most incompetent customer service people on the planet. Took them 2 months to get my issue resolved.
    I wish you the best of luck.

  • Frequent "Firefox has encountered a problem and needs to shut down" window. Need to disable adblock plus and AVG safe search to continue. Any way to fix?

    For about a third of websites I visit, at some point I receive a "Firefox has encountered a problem and needs to shut down" window. I have to disable both Adblock plus and AVG safe search in order to continue. This used to happen for two or so sites, and I disabled the ad-ons before going to those sites. It has increased to the point that the adblock plus and safe search ad-ons are becoming pretty useless. Is there any way to rectify this problem. Sending error reports has no effect.

    soytuyosimeamas wrote:
    I tried to update but it would not allow me to update, isn't that odd!?
    Have you changed anything in the Photoshop installation areas?  If the updater doesn't find a pristine installation it will fail.
    The only area you should ever put anything into is the plug-ins subfolder.  Everything else is hands-off.
    -Noel

  • Not working right-will not let me type a new emall, pull contacts, also will not let me use wireless printer-kept shutting down windows.

    firefox will not let me type in yahoo mail as new email. will not pull up contacts. also, when I use wireless printer-it shuts down windows.

    Couple of points...
    DJ_Jynxx wrote:
    The thing is, this MUST be an Audition CC issue for two reasons. One, everything worked fine in CS6, which I was using right before I upgraded to CC. I even did a clean install of it by removing CS6 completely.
    All versions of Audition can co-exist on the same machine quite happily - there is no interaction between them at all, and the system was designed to be like this. So there's nothing to stop you keeping CS5.5, CS6, CC and even Audition3 on the same machine.
    The other thing I'm wondering about is Windows 8. There have been a considerable number of complaints about this doing weird things, including with Audition. I have a system that in many ways is very similar to yours, except that I don't overclock the mobo, and use a professional sound device (or two) with it (RME). The major difference though is that I use Windows 7 pro 64-bit, and I haven't had any of these problems at all. Yes I use it for a living, as well, but I don't bother with multiple DAWs - don't have time for all that these days. But I do use iZotope's RX software in its standalone mode without any difficulty.
    I'm not claiming that  Audition CC is trouble-free - any number of Mac users will confirm that - but people running it on W7 certainly seem to have far fewer problems with it. It may also be worth trying an uninstall-reinstall of CC - you never know. But differences in preview quality certainly point towards audio drivers, I'm afraid...

  • Virtualized servers get stuck at "Shutting down Windows Modules Installer service ..."

    Hi,
    I have a Windows 2008 R2 (no service pack) server that has been virtualized last summer and since then:
    - Windows Update does not download any updates (it says Cancelled for every update in the Update History)
    - When I reboot the vm, it gets stuck on "Shutting down Windows Modules Installer service ..." and I have to cold-Reset the vm to get it working again.
    I tried running Windows Update Standalone Installer (Windows6.1-KB947821-v20-x64.msu) on the machine, but that gets stuck on "searching for updates"...
    I tried stopping the Windows Update service but that doesn't work either, it says that the service is not responding...
    I'm not sure what to try next, I'd appreciate any pointers.
    Thanks a lot,
    Guillaume

    Hi,     
    Pls try to do the following to reset the whole
    SoftwareDistribution folder:
    1. Stop the windows Updates service. To do this, follow these ste
    a. Click "Start", click"Run", type "services.msc" (without the quotation marks), and
    then click "OK".
    b. Right-click the "windows Updates" service.
    c. Click "Stop". The service will take a moment to stop.
    2.rename this folder(renamed to oldsoftwaredistruibution)
    3. Start the windosw Updates service. To do this, follow these steps
    a. Click "Start", click "Run", type "services.msc" (without the quotation marks), and then click "OK".
    b. Right-click the "Automatic Updates" service, and then click "Start".
    The service will take a moment to start and the folder will be recreated when you try to visit windows update site. You can then delete the folder.
    After all, try to see whether your AU is functioning.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • After upgrading to lion, shut down window is appearing continually

    hi :
    after i installed the lion osx upgrade, i had a problem , a big issue .
    when i'm using the laptop , the shut down window is appearing continually. and after about 10 min the computer shutting down automatically .
    i tried to reset the smc.
    but the issue still there.
    i changed the hard disk and install the snow leopard osx.
    i checked it again ,,,,,, nothing is happening .
    so what could be the issue .??
    by the way i did all software update after i finished installing my software's.
    regards

    I have the same problem. I use the Windows 7 on bootcamp partition and there all good, but when I go to mac partition the shutdown menu appears when I stop using the keyboard or trackpad and after 10 seconds off.

  • I am no longer able to send emails from within iPad apps.

    I always used to be able to send files with attachments by email from within iPad apps like Adobe Reader or Pages. Used to work but now it doesn't - and this for all apps all at once. It gets to the point where it has prepared the email, but if you press send, it says "Could not save or send message". It also doesn't matter which email account I use - result always the same. It's a real pain as this was a good way of editing a word file and then emailing it to myself.

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray BEFORE doing the reset.

  • I have purchased a from within an app. I submit my password for the app, and then my Apple ID.  I then get the following messages "Regrant failure _ please log in with the same user that has bought this app"  and that is followed  by "cant conn with IT _

    I have purchased an item from within the app PocketBible on my iPad.  However when I try to download it I am asked for my app User Name and Password and then my Apple ID and password.  I give both of these.  I then get a message which says Regrant failure - Please log in with the same user that has bought the app.  That is then followed by  Pocket Bible Alert - cannot connect to iTunes Store.
    Anybody got any ideas, both what the 1st alert means and how I get round the problem please.

    I had the same problem. My wife had the PocketBible on her Ipad 2 and she transferred ownership to me. I had to delete the app and reinstall it from the App store(logged in with my apple ID) and its working without a problem. I do not get those error messages when I attempt to Buy/Upgrade or Add/Remove books.

  • How to restrict the ordering of apps from within an app

    My grandkids somehow run up charges by ordering apps from within an app they are using usually games  without even knowing they are doing it. How do I restrict them from doing it?  And how do I get the charges to Itunes removed when this happens?

    You can go into settings, and restrictions and turn off 'in app purchases'
    You may also want to set your apple id from 'require after 15 minutes' to 'require immediately'
    As to getting the charges reversed you can contact the app developer. Maybe they will reverse the charges, but they don't have to. The terms of sale are that all sales are final.

  • Currently logged in from within  the app itself

    I need to find out who or how many users are currently logged into my app from within the app itself and display it within a report for the app administrators. Any thoughts or ideas.

    For an answer to this question see this discussion.
    query apex users and their session
    query apex users and thier session
    Todd

  • We have two iPad 2s and on one apps keep shutting down but on the other iPad the same app is fine. We have deleted the app, hard restarted and it still shuts down. How can we fix this?

    We have two iPad 2s and on one apps keep shutting down but on the other iPad the same app is fine. We have deleted the app, hard restarted and it still shuts down. How can we fix this?

    got the same problem. did the hard reset but to no avail. mine is ipad 2 16gb ios 7

  • All remaining strore credits stolen yesterday, about 50$.  It appears to be a purchased made from within an app.  Anyone else? Does AAPL refund.  They sent me an e-mail to advise me that an untautorized computer had completed a purchase...what he %$/ ??

    All remaining strore credits stolen yesterday, about 50$.  It appears to be a purchased made from within an app that I neved downloaded. Anyone else? Does AAPL refund.  They sent me an e-mail to advise me that an untautorized computer had completed a purchase...what he %$/ ??

    I've not dealt with the app store, so I don't know how to address the problem from the standpoint of dealing with Apple; but, it appears that someone has hacked into your account and used up the money. I would immediately change my password (make it difficult!!) and then deal with the app store. Was this cash? If it was a credit card, I would call them immediately, tell them what Apple said, and file a complaint - you should be getting a credit for that amount.

Maybe you are looking for

  • Print a File from Forms to a Printer connected to USB Port

    Hi All, I have a printer connected to the USB port to my local machine. I access web application Forms 9i AS and try to print a report on my local printer.The report is opened using web.show_document in the Internet explorer browser window. There are

  • Can I change the icloud account for just one of my devices?

    I have 4 devices (2 iPhones and 2 iPads) on my iCloud account. I want to put one of my phones on a new icloud account so it is not with the other devices. I thought I did this by creating a new Apple ID.  My phone shows the new ID, but still uses the

  • Safari makes my macbook freeze all of a sudden ?

    A few days ago I started experiencing problems with my Macbook. It was working fine until I shut it off. I turned it back on again and it would not go past the blue screen that appears right before everything starts up, even though there was a cursor

  • When I open a new tab, then go to a new website, the back button doesn't work.

    For instance, I open craigslist in a new tab, then I click on "sporting goods". I try to click back to go back to the original craigslist page and the back button is not lit up and does not work. However if after I am on the sporting goods page (the

  • N97 and iSync

    Another exmaple of a problem with lack of transparency and communication from Nokia: What is the status of iSync for the N97. Is there a general problem preventing the N97 from being connected with iSYnc on the MAC? Or was there a problem which is no