Shutdown, Logg Off, Restart

Hi All!
How can I shutdown, log off or restart from Oracle Forms 6i?

Create a command file shutMeDown.cmd with the following line:
shutdown -s
In your form use the when-button-press trigger add this line:
host('drive:\path\shutMeDown.cmd');

Similar Messages

  • Mac wont shut down,log off,restart, dashboard and spotlight not working fro

    Hi I keep getting this problem..
    I cannot log off, restart, or shutdown randomly. I am using Leopard v10.5.7, with all other updates. Also I cannot get dashboard or spotlight to start off the keyboad shorcuts.
    I have to hold the power butt=on for more than 10secs to shut it down, which I do not like doing.
    I have repaired permission, stopping apps staring automatically on log in. removed all cables to reset SMC etc etc.
    It doesnt happen all the time, but sometimes it does. Reason I have to close my Mac down is my wife and kids use Boot Camp with Win XP on.
    This is now starting to annoy me, can someone please help, I've had my Mac 18months now, 1st one ever, so am still learning, especially when things go wrong or dont work, as I didn't expect this on a Mac!!
    cheers

    HI,
    Try booting from your install disk and checking the hard drive for errors.
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger and later) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    *(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)*
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window where you see Capacity and Available. Make sure there is always 15% free disk space. Not enough disk space can cause directory corruption.
    If you cannot boot from your install disk, try booting in Safe Mode
    Carolyn

  • Macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple,

    macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple, the same error message box appeared again and again every time OK was clicked.  Now the macbook will not turn on at all

    If you're able to boot, launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post "shutdownStall" or "hang" reports.
    If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all.
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.

  • Screen freezes and popup message says I need to do a shutdown and then restart.  It does it sometimes 2 times a day. Im new to apple and need help.

    My screen freezes and popup message says I need to do a shutdown and then restart.  It does it sometimes 2 times a day. Im new to apple and need help.

    Bad or incompatible RAM is, more often then not, the cause of most Kernel Panics. It could also just need to be reset.
    Here's the most used site for Resolving Kernel Panics. Please do all the steps in order, even if you don't think you need to do a certain step.
    Here is a great MacFixIt article.
     Good Luck!
    DALE

  • My system preference, powner off, restart disappeared after installing lion twice! Anybody can help?

    After installing Lion on my Imac, the System Preference option in the apple menu (Apple sign on top left side of desktop) has disappeared. In addition, the power off, restart options are gone too. I have reinstalled the Lion twice but the problem hasn't been resolved yet. This is happening when I am logged into adm. user. In other users account, the menu seems to be ok. Any suggestions or recommendation to help me fix this issue?

    Let me clarify the issue again:
    A number of items have gone missing from my apple menu: Software Update, System Preference, Dock, Recent, Restart, and Shut Down are gone.
    All that's left are About, Location, Force Quit, Sleep, and Log Out. Can anybody help?

  • TS3274 ipad stopped working and shutdown will not restart

    Ipad stopped working and shutdown will not restart.  I synced and updated system software about an hour before problem started.  The Ipad had about 60% battery life remaining when it went dark.

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds, after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Upgraded to ios7 on iphone4. Swipe up to bring up control center wont work. Turned optins on and off restarted phone.  No luck .  Any ideas

    Upgraded iphone 4 to ios7.  Swipe up to get control center works when it feels like it, which is seldom. I have turned options on and off, restarted the phone, no go. Btw, swipe down on lock screen to see events no good as well.  Any ideas.

    I had this problem also. First thing I tried was to reset your device.
    Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. That seemed to help.
    But then I discovered that a light swipe starting just off the screen at the bottom worked well.
    When I tapped and swiped on the screen I often did not get the Control Center to come up. But after practicing some with a swipe beginning just off the bottom of the screen I get the Control Center to come up every time.

  • Leopard shuts off my network each time I shut off, restart, or sleep?

    After installing Leopard each time I shut off, restart or sleep my computer (auto or manual) it shuts-off my Belkin N Network. I have to manually unplug the wireless modem and replug. I'm running a WPA password protected network. It of course affects other wireless connected computers as well but is defiantly caused by my MacBookPro. Any ideas?

    Just as a test, if you turn Airport off on your MBP does the same thing happen?
    Once it's off, then turning off your MBP should have no effect.
    It this is the case, then you may need to check for firmware updates for the modem.
    There have been other instances of this type of behavior with Leopard, especially with 10.5.2.
    Most were solved up a firmware update to the modem.

  • When I wake my iMac from sleep, the wireless does not connect.  I have to shut shutdown and then restart and then it connects.  I am running Lion 10.7.3  Any thoughts?

    When I wake my iMac from sleep, the wireless does not connect.  I have to shut shutdown and then restart and then it connects.  I am running Lion 10.7.3  Any thoughts?

    Been waiting along time for this problem to be fixed. Unfortunately the update hasn't help at all and even made the situation worse. Now my airplay connection from iMac to stereo abruptly stops after about 10-15 min. so I have to go over and quit wifi, start it up and find my airport network. Not sure why it always has a problem with the apple airport network. My neighbor's pc network is always there.

  • Is it possible to disable the "Do you really want to logg off" popup?

    Well, the full text isn't more complecated than the subject. Is it possible to disable the "Do you really want to logg off" popup? A customer wants to use popup blockers for some reason and hence this logg off popup is rather inconvenient.
    I have searched the forum but only found threads about how to tweak the logg off session time and recomendations that you should use the link "Logg off" instead of just closing the browser.
    Best regards
    Benny

    Hi Benny!
    No. The UME parameters like UME.LOGOFF.... are maintained using the offline config tool of the J2EE Engine. Therefore this is no JSP modification.
    The option mentioned by me (modifying the masthead iView) indeed is JSP modification and you should avoid that as long as it is possible. I have several customers having additional requirements concerning the layout and functionality of masthead iView (e.g. customer-specific links, completely different order/layout of the elements of the portal header etc.).
    A rule of thumb is:
    First try to configure.
    If not possible ask SDN and/or SAP.
    If you get no sufficient answers start thinking about modifications.
    Especially the masthead iView is very critical. If you accidentially "destroy" it noone can logon to the portal anymore. If you do this be sure to have at least one or two running portal sessions when deploying the modified iView and that you have a backup of the original iView by your hands. This gives you the chance to restore the original iView version.
    If problem is solved now please close this thread. If not tell us your further doubts.
    And now: Good luck!
    Regards,
    Volker

  • A UPS model that works with Mac Native software to do a graceful shutdown and automatic restart during a power failure.

    I've tried 3 UPS's (2 APC and one TripLite) that state they are OSX compatible, however, they do not fully respond to the native osx setting in (system Preferences/ Energy Saver/ UPS/Start up automatically after a power failure). This is what happens:
    During a power outage, the OS does a graceful shutdown, but does not reboot when power is restored. 
    Apparently, the UPS is not notified to turn off during the shut down process. The power (on-Off-On) cycle is required by the mac to restart.
    Trip lite tech support says they have software that works with Windows and linux to do this, but not mac.
    I've tried two older APC UPS's, One Smart UPS1500 and a Back-UPS 1500 with the same result on two different servers and one iMac.
    At this point I'm looking for a make and model of a UPS that does work. If anyone can verify a make and model that actually does this, I'd greatly appreciate it.
    Its a simple test, just pull the plug on your UPS, wait for the system to shut down, and then plug the UPS back in. The system should reboot.

    Many of the CyberPower UPS units are compatible. Checkout the home solutions on this page: http://www.cyberpowersystems.com/products/ups-systems.html

  • System won't turn off, restart, hibernate or sleep after Windows 8.1 upgrade

    Help, please!!
    Two days ago in windows 8 store popped up an update to windows 8.1 for my pc. I am an owner of two notebook PC-s, both Lenovo, G580(which upgraded successfully without any issues, also it has intel inside) and G585(which upgraded without any issues, untill
    the set up completed and it booted up, it has AMD)
    So the AMD one, Lenovo G585, refuses to shut down, restart, sleep or hibernate, the only way to shut it down is to force it to turn off, meaning i have to press the power button for a couple of seconds. Along with other issues this is the only one i wasn't
    able to resolve. I have contacted my Lenovo support and they said there is nothing they can do and that i can only wait for an update... and in the meantime am i supposed to let this windows 8.1 upgrade
    mess up my new notebook?
    Ok, so i was stupid enough not to run windows 8 backup before i started this update, silly me, thinking what could go wrong, it's not like M$ described this upgrade as something like evolution of the century,
    but enough about that, i have tried every possible solution, updated my drivers, run admin cmd and typed powercfg -devicequery wake_armed - it displayed NONE, typed powercfg -lastwake - it displayed wake history count - 0, i tried entering BIOS and checking
    if there is anything in there i could possibly change, found nothing, tried disabling hibernate, still nothing, and each time i try putting my pc in one of those states the screen turns off, and it all seems like the pc will any moment and yet nothing it just
    stays on for countless hours unless i once again force it to shut down, also when in sleep mode no keys work for waking it up, mouse and keyboard are meaningless, the only button that works is the power button which turns it off completely and then i can turn
    it on all the way from the begining, so far at least that makes me happy, but continuing like this i will mess up my PC.
    PC specs:
    OS - Windows 8.1 x64, came preinstalled Windows 8 x64
    Processor: AMD E-300 APU with Radeon HD Graphics 1.30GHz
    RAM: 4GB
    Microsoft, any solutions to this one? 

    Last week I put a new hard drive in and loaded Windows 8 instead of Windows 7 (which I was previously using), it is a legit copy I had purchased and downloaded from Microsoft when Windows 8 first came out.  I had problems with activation, called Microsoft
    and they remotely connected fixing the problem.  Sleep Mode worked until it did the 8.1 upgrade.Now the System will not turn off, Sleep or Hibernate.  If I go to Sleep or Hibernate, the monitor turns off, hard drive turns off, but the fans are still
    running.  Try to wake up with mouse and nothing happens, have to hit the restart button.  If I try to shut down, it does the same thing, I can only shut down by holding the button.  I have tried everything suggested here, nothing has worked. 
    I would reload, but don't want to have to go through the problem of activating again.  The system32>sfc /scannow found nothing wrong, network adapter is not allowed to wake the computer, sharing turned off, and disabled the hybrid-shutdown-feature. 
    Computer has been scanned and re-scanned, not infections.  Video driver was re-installed.  I have checked all settings in BIOS.
    I was hoping that someone has found a solution to this problem.
    Intel Pentium D CPU 3.73GHz
    8.00GB RAM
    NVIDA GeForce 9800 GT x 2 (SLI)
    64-bit Windows 8.1 Pro with Media Center
    No pen or touch input

  • My Mac Mini won't shutdown it keeps restarting. Help!

    I have brought my Mac Mini a week ago, the basline model (new 2012). I go to shut it down and it just reastarts and show me the screen saying there was a problem, I can't reslove the issue, and I had to result in holding the power button down. What is the issue that I ama having?

    I used to run my Mac Mini (2012) with Lion and XBMC under my 32" Samsung TV and never had an issue with shutting it down.
    I then upgraded to Moutain Lion via upgrade and moved my Mac mini to my office with my 24" Samsung TV...
    Then I noticed my Mac Mini would reboot when I was screen sharing and I tried to shutdown...
    This is annoying when you are using it remotely.
    So being a techie sort of guy I went overkill and did the follwoing:
    - Wiped the HDD
    - Did a fresh install of Moutain Lion
    - Cleared the NVRAM (Rebooted 10 times)
    - Cleared the PRAM (Rebooted 10 times)
    The shutdown problem still persisted....
    My conclusion was it must have been upgrading the OS from Lion to Mountain Lion however my work colleague (mockingly) pointed out that in the forums someone said is to do with the HDMI.
    I ran tests:
    24" Samsung TV Powered On - HDMI Connected - Shutdown  (Issue occurred)
    24" Samsung TV Powered Off - HDMI Connected - Shutdown  (Issue did not occur)
    (To test this I turned the tv off and watched what I was doing via Screenshare)
    24" Samsung TV Powered On - HDMI Connected - Shutdown via Screen Sharing (Issue occurred)
    24" Samsung TV Powered Off - HDMI Connected - Shutdown via Screen Sharing (Issue did not occur)
    HDMI Disconnected - Shutdown via Screen Sharing (Issue did not occur)
    - So I ran further tests!!!!
    32" Samsung TV Powered On - HDMI Connected - Shutdown  (Issue did not occur)
    32" Samsung TV Powered Off - HDMI Connected - Shutdown  (Issue did not occur)
    (To test this I turned the tv off and watched what I was doing via Screenshare)
    32" Samsung TV Powered On - HDMI Connected - Shutdown via Screen Sharing (Issue did not occur)
    32" Samsung TV Powered Off - HDMI Connected - Shutdown via Screen Sharing (Issue did not occur)
    It looked like it was the 24" TV however whilst I was testing with the 32" TV I got annoyed that the menu bar was off screen so I turned the resolution down from (1920X1080 @60hz)  to (1360 x 768 @60hz), shutdown, and on the second shutdown the issue occurred!!!!!
    So I checked my 24" TV (1360 x 768 @60hz)  was the original resolution.
    I have changed it to 1600 x 900 and no shutdown issue on the 24" TV!!!!
    So the resolution 1360 x 768 seems to be the problem!!!!!!

  • Macbook Pro 10.6.8 will not turn off, restart, or even sleep after upgrading to OS X Mavericks

    It was working fine for the first 4 days until now, the computer won't turn off, won't restart, and won't sleep. When click on those button, the computer has no response. Also the iMessage App appears to not working as well. I tried forced turn off by holding the power button, but then it takes about 1 to turn back on. And now after it is on ago, it won't turn off again. And the Imssage is not working again. Other apps seems works just fine. Any suggestion?

    Hi, Kinshinhh. 
    Thank you for visiting Apple Support Communities.
    I would recommend processing an SMC reset on your MacBook Pro. 
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    If experiencing issues with messages, try the steps in the article below. 
    Connection Doctor
    In Messages, you can select Video > Connection Doctor to assist you with possible connection issues. Connection Doctor shows the following details:
    Statistics–With the following details
    Chat Duration–How long the chat has lasted.
    Frame rate–The number of frames per second (fps) that video plays.
    Bit rate–The average number of kilobits that one second of video data uses (kbits/s).
    Frame size–The resolution, in pixels, of the video. The mew pixels, the more detailed the image.
    Audio and video quality–100% means no loss of quality. Issues may occur if quality falls below 90%.
    Capabilities–A pane that shows you what capabilities you have based on your computers hardware and Internet connection.
    Network Statistics–Displays information about your bandwidth settings and network router type.
    Bandwidth limitation–Indicates whether the bandwidth has been limited to a particular speed in Messages.
    Tip: Click "Settings…" to open Messages preferences and adjust your "Bandwidth limit:" setting.
    Router type–Identifies the kind of network address translation (NAT) router your computer is using to communicate with other devices. Router type are:
    Tip: Consult with your network administrator, if you have a router type other than "Full Cone".
    Full Cone–Anyone on the Internet can send replies to the computer.
    Restricted–The router associates the translated address and port with a particular destination address. Replies from other addresses are filtered out.
    Port Restricted–The router associates the translated address and port with a particular destination address and port. Replies from other addresses and ports are filtered out.
    Symmetric–THe router associates the translated address and port with a particular destination address and port, but uses ad new translated port for each destination address and port.
    Unknown–The type of router could not be determined.
    Error Log–Inspect reported errors in the Messages error log. Note: This option is dimmed if there are no errors present.
    Mac Basics: Messages
    http://support.apple.com/kb/HT5395
    Cheers,
    Jason H.

  • TS2090 my apple tv sound dosnt work ive tried almost every thing swich it off restart update unplug it changing my tv to other mode im fed up

    My apple tv sound dosent work
    I`v tried almost evey thing
    1. update
    2. restart
    3. unpluge aptv and HDMI
    4.restor
    est
    Im fed up please any advice

    i have this same issue. The sound was working fine. I have to pause the streaming, and then when I hit play again, no sound. I have also tried, unplugging, for 30 minutes (everything: sound cable, HDMI, power, and network) then restarting. I tried switching the HDMI source. The sound works fine on the tv without the apple tv or with the dvd. Just not with the apple tv. I have updated the software. The sound doesn't work for streaming via airplay, playing anything off itunes, it doens't even have sound for the sound effects when you navigate on the home screen. I too am extremely frustrated. Google TV here we come.

Maybe you are looking for

  • How do I access my iPhoto files on my mac?

    Okay, So, so far I have spent or should I say wasted over 15mins trying to sort this out and read through various comments.... Mac is meant to be user friendly... Clearly iphoto is a joke ..... Iv done a time machine backup, i wanted to check all my

  • Horizontal streaks (with new HP Envy 4500)

    Purchased new HP 4500 Envy (Cwhich wouldn't print black at all with catridges provided). Bought new replacement black cartridge.  I now get black with horizontal streaks.  [Note it's rubbish for cartridge in box didn't work]. I have tried all the var

  • How to get approver with SO in PLD

    Hi expert   I have an approvel procedure on sales order.   I would like to get approver in PLD, but how to get them?   I know the data save in OWDD/WDD1 table, and I can use   Alt key to pull the all table, but I don't know how to join them well. Hav

  • How to cancel auto renewal?

    HOw to cancel auto renewal?

  • J2EE startup framework and J2EE

    I have changed some Java VM parameters. To make above change effective, I have to re-start the J2EE instance. But my co-worker  (who left my company)  wrote in his document " For the SAP J2EE startup framework, it's NOT sufficient to re-satrt the J2E