I understand your Notebook shuts down after you turn on the power.
To isolate the issue, please perform these troubleshooting steps.
1) Power Drain :--- Static electricities some times cause your Notebook not to boot. To remove static electricities use power drain. Follow below steps for power drain.
a) Shutdown the Notebook.
b) Disconnect any power source (i.e., AC adapters)
c) Remove the battery from the CPU.
d) Hold down the power button for 30-60 seconds. This will remove any static charges.
e) Connect the battery back and power on the Notebook.
If the above method does not work. Follow the below one.
2) Your Notebook Compaq Presario v3000z is having a manufacturing defect, if you still experience the difficulty, HP is arranging a "Limited Service Enhancement" plan for your Notebook. HP may service your Notebook even if it is out of warranty.
For more information contact HP.com 24X7 chat support, they will assist you better in providing you the procedure for shipping and details. You can log on to the HP chat support by clicking the below link or copy and pasting it in the address bar of a web browser.
To check the Limited service enhancement plan and information about the defect of the Notebook v3000z clic the below link or copy and paste it in the address bar of a web browser.
Take care and bye