Zack1234 :
One time it happened while I was away.there was no any serious programs running that time.Another time when playing a emulator game and then just after starting split second game I minimized it to close another program then it happened again.Yes Screen goes black and monitor light dims.I cant hear any sound from speaker or any beeps.numlock keys don't work.their lights either stays on or don't work.
I'm starting to think that your motherboard has just given up the ghost. Unfortunately, it's almost impossible to replace components in OEM built systems that are out of warranty. Your cheapest option would be a new case, power supply, processor (and probably RAM since this system uses DDR2 and all modern platforms use DDR3). Unfortunately, you won't be able to replace any of those components individually due to proprietary design.