--- Quote Start ---
when I use the autodetect it detects epf10k30atc144-3 but without programming file , and when I try to load it ,the message in the picture attached appears, and the device changes :s
--- Quote End ---
Ok, so the 10K30A is on your board, and JTAG confirms that.
The error message is indicating that your project is setup for a 10K10A device.
Open your project, and in the Quartus GUI select;
Project->Generate Tcl file for project.
Look in the file that is generated. You should see something like:
set_global_assignment -name FAMILY FLEX10KA
set_global_assignment -name DEVICE EPF10K30ATC144-3
If you don't see the 10K30A in that file, then you have not selected the correct device for your project.
Which version of Quartus are you using? You should be using v9.0SP2, which is the last version to support FLEX10K devices.
Cheers,
Dave