Most CD drives have a small pin hole to manually eject the CD on the frt. panel bezel. Its there exactly for that reason. Unfortunately some drives may not have it, but most do. Using that pin hole place a straighten paper clip and push in with some care. This will mechanically unleash the door. Once all this is done, you should more carefully review what is making this stick, it will only happen again sooner or later. There's also the chance the track that drives the door open/close is cracked or broken, so take into acct. if replacement becomes necessary as you can't repair it(usually).
I have an HP e-pc 40 and, if it matters, I'm running Windows XP Pro SP2. Some time ago, I tripped over the open disc drive door (it's a vertical operation) and one of the trim guides came off. As long as I'm careful, I have had no problem, until today. The last time I inserted a photo CD, the tray went in with a little bit of resistance. Now, when I push the eject button, it clicks. Something has become jammed. I unplugged everything and tried to pry the door open, but without success. I am not financially able to send this out to get the door released. Does anyone have any simple instructions for someone who is not computer literate? Any help you can give would be gratefully accepted and appreciated. Thanks.