Is there a way I can open the CD-ROM tray using Java?

Hi!
I would like to make a pogram that makes the CD-ROM tray eject. Is there a method or something that does this?
Virum

For "What Windows API" type of questions I would start here:
http://msdn.microsoft.com
It's a very large site so be prepared to take a long time finding your way around.

Similar Messages

  • Is there any way you can turn the pages of books using the controls on the headphones

    Good Day
    I like to know if i can use headphones control to turn pages into books app or similar.
    Thanks.

    No, sorry.
    You might be able to capture that hardware activity and influence an app, but you'd need to do the work in Xcode, etc.

  • How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive w

    How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive without opening a browser?
    The guts of my computer were rearranged and I got a new main hard drive. My old one is still in there and I can get stuff from it, but when I go to the Mozilla folder on the old one, I can't figure out if there's anything I can do to get all my bookmarks from that drive to my new one, where Firefox is newly installed.

    If you open Firefox then Firefox will always use the default profile folder as found via profiles.ini on your system drive.
    You either need to import the file in your current default profile or copy the file to your current profile folder while Firefox is closed.
    Firefox 3 stores the bookmarks and the browser history in [http://kb.mozillazine.org/places.sqlite places.sqlite] and no longer creates an HTML backup by default.
    There are also (five) JSON backups in the bookmarkbackups folder within the Firefox profile folder.
    You can either copy the file places.sqlite to your [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] or import the most recent JSON backup from the bookmarkbackups folder of that old profile.
    See:
    http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See http://kb.mozillazine.org/Profile_folder_-_Firefox
    "Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders.
    See http://kb.mozillazine.org/Show_hidden_files_and_folders
    Go to: Control Panel > Folder Options > "View" tab > under "Hidden files and folders", select "Show hidden files and folders".
    You may want to un-check the box "Hide extensions for known file types" to see the file extensions of all files.

  • Received a pdf by email, when i attempt to open it, I get the message "File Error-couldn't open the file", is there some way I can open it? Thanks, Graham

    Hi,
    Received a pdf by email. When I attempt to open it, I receive the message, "File Error- Couldn't open the file", is there any way I can open it?
    Thanks,
    Graham

    Are you using Adobe Reader or Preview to view the file? Can you get the sender to resend the file?
     Cheers, Tom

  • I recently downloaded a program ScanFont 5, When I try to open the installer I get the following message: "You can't open the application "(null)" because it may be damaged or incomplete. Is there any way I can get the installer to open anyway?

    I recently downloaded a program ScanFont 5, When I try to open the installer I get the following message: "You can't open the application "(null)" because it may be damaged or incomplete. Is there any way I can get the installer to open anyway?

    The message means just what it says. Remove the damaged copy and try downloading it again.
    Edit: Looking at FontLab's page, there's two issues going on.
    1) It's a PowerPC app and will not run on any version of OS X newer than Snow Leopard, 10.6.x.
    2) The "workaround" they offer is to purchase the Windows version and then run it in the the open source Wine, Windows emulator.

  • Is there a way we can open/close posting periods on a "per day" basis?

    Hi SAP gurus,
    Is there a way we can open/close posting periods on a per day basis?
    It is not possible in OB52 since it only has control per period and not per day.
    Will assign points for suggestions. =) Thanks!

    Hii
    In standard SAP there is not such functionality where u can do these kind of configuration...it is at least for a month that is through OB52.
    If u still wants this functionality it is through the validation.
    u need to create the validation for that company code and thn u can use this functionality....
    hope it helps u
    reward points if helpful
    sejal singh

  • I am running 10.7.5 on an imac and I want to upgrade to Yosemite but I have no app store on my computer. Is there a way I can get the app store on my imac?

    I am running 10.7.5 on an imac and I want to upgrade to Yosemite but I have no app store on my computer. Is there a way I can get the app store on my imac?

    If you don't have it then you will have to reinstall Lion:
    Reinstall Lion, Mountain Lion, Mavericks or Yosemite without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, Mavericks, or Yosemite
    OS X Yosemite- Reinstall OS X
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it isthree times faster than wireless.
    Then you can download and install Yosemite if your computer meets the system requirements:
    Upgrading to Yosemite
    You can upgrade to Yosemite from Lion or directly from Snow Leopard. Yosemite can be downloaded from the Mac App Store for FREE.
    Upgrading to Yosemite
    To upgrade to Yosemite you must have Snow Leopard 10.6.8 or Lion installed. Download Yosemite from the App Store. Sign in using your Apple ID. Yosemite is free. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
        OS X Mavericks/Yosemite - System Requirements
          Macs that can be upgraded to OS X Yosemite
             1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later
             7. Xserve (Early 2009) - Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.

  • I have an iPod 4.2.1 version and recently when I try to download an app it is either incompatible or reuires a newer version of OpenGLS. is there any way I can update the software I have because I literally cant download a single app. Thank you.

    I have an iPod 4.2.1 version and recently when I try to download an app it is either incompatible or reuires a newer version of OpenGLS. is there any way I can update the software I have because I literally cant download a single app. Thank you.

    No, you can't update your 2G iPast past iOS 4.2.1. The graphics hardware on the 2G does not support the latest Open GLS.
    Yes, there are not that many apps that still works with a 2G with 4.2.1.

  • I have a preorder and I can't find the credit card I used to buy it in the first place. Is there any way I can switch the payment to a new card and get my cd?

    I preordered a CD and I can't find the credit card I used to order it so I can't confirm the billing and recieve my CD Is there any way I can switch the payment to a new card and get my cd?

    Welcome to Apple Communities
    PowerPC applications are unsupported in newer versions. You can upgrade Photoshop or you can install Snow Leopard in a partition.
    1. Open Disk Utility (Applications > Utilities) and select your drive
    2. Go to Partitions tab, press + button, create a new partition and press Apply
    3. Insert the Snow Leopard install DVD and reboot pressing C key
    4. Install it in the new partition
    5. If you want to change boot, go to System Preferences > Startup Disk and select 10.7

  • I build my websites with iWeb. Is there a way I can transfer the files and work on the sites on a different computer (mac)?

    I build my websites with iWeb. Is there a way I can transfer the files and work on the sites on a different computer (mac)?

    See this topic opened today...
    https://discussions.apple.com/thread/3710310?tstart=0

  • I redeemed a giftcard in one of my accounts, and realized I wanted to redeem it in another. Is there a way I can transfer the money from one account to another, without being billed to my credit card?

    I redeemed a giftcard in one account and realized I wanted to use it in another. Is there a way I can transfer the money from one account to the other without billing my credit card?

    You can't transfer money between accounts.  You can, however, gift items by clicking the arrow to the right of the price, which will achieve the same ends.  It should work for everything except rentals.

  • I have an external server that stores all my movies and music, is there a way to stream it to my apple tv? If not is there a way I can link the folders to itunes (without downloading files to computer) and will that make them view-able for the apple TV?

    I have an external server that stores all my movies and music, is there a way to stream it to my apple tv?
    If not is there a way I can link the folders to itunes (without downloading files to computer) that will make them view-able for the apple TV?
    If none of that works is there a way to get it working alternativly?
    Additional Information:
    Everything is linked via ethernet cable.
    I'm using a PC to set it up.
    If you have any other questions feel free to ask and I'll help where I can.
    Thank you for any help

    (I think the daughter got he better end of the deal!)   I believe if you change the password and user id one of the devices it will stop that from occurring. But I'm not the one to tell you how to do it; someone like "Illaass" (Illaass seems to know how to correct / fix almost anything!) will know how if you don't. Just look for the "cat" icon.

  • HT201335 I have an i mac early 2008 10. 8. 2 mountain lion. Is there any way i can do the mirroring to my apple tv.

    I have an i mac early 2008 10. 8. 2 mountain lion. Is there any way i can do the mirroring to my apple tv/ tv?

    Not natively. That requires the newer processor. You will have to use Airparrot
    http://airparrot.com/

  • Is there a way i can take the songs from my ipod touch and put it on a new computer and a new itunes?

    so i just got a brand new laptop(windows) and i have an ipod touch. most of the music on my ipod i bought straight from itunes ON my ipod. is there a way i can transfer the music i have on my ipod to my new computer?!
    Please help!! <3 thank you!

    For iTunes purchases:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    For non-iTunes purchased music use one of the third-part programs discussed in this previous discussion:
    Best iPod to PCBest iPod to PC

  • I recently got a new ipod touch. My old ipod nano is synced to a mac computer at my mom's work. And my new ipod is synced to my pc computer at home. Is there a way i can get the songs from my old ipod to my new one?

    I recently got a new ipod touch. My old ipod nano is synced to a mac computer at my mom's work. And my new ipod is synced to my pc computer at home. Is there a way i can get the songs from my old ipod to my new one?

    Copy the music from Nano to computer by:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    Then just sync to the new device
    iTunes: Syncing media content to iOS devices and iPod

Maybe you are looking for

  • Object Services Toolbox  and attachments

    Can somebody short inform me about what u201Climitationsu201D if any , u201Cdisadvantagesu201D if any or u201CAdvantagesu201D if any there is to use u201CService for objectsu201D and the attachment instead of DMS. This should be answered looking at t

  • Reverse play with audio

    Hi all In another place I frequent a poster has asked for suggestions for a media player or software that can play a file forwards and backwards with audio. He needs this feature to help his autistic son. Ideally it would be a simple player that inst

  • Group Permissions Problem

    An issue has cropped up where whenever a user creates a file they are the owner with read/write permissions, but the group permissions are set to read only. I have checked the group permissions are being assigned in ACL, and it is set to read and wri

  • Keynote presentation style

    I'm trying to replicate the Keynote functionality seen in the Apple Web site page describing widgets for iBooks: http://www.apple.com/education/ibooks-textbooks/gallery.html (see the Gorongosa landscapes). It's pretty cool how the user seems to be ta

  • Trojan or Virus? Mouse and trackpad arrow keep returning to one spot

    This just started happening today (Nov.21, 2008) after I used wireless internet at two different Starbucks locations. My mouse arrow and trackpad arrow both keep returning to the middle and left-hand area of my screen. I can move my arrow for about h