--- Quote Start ---
Thanks for you replies. I tried using
set_global_assignment -name DEVICE "EPF10K50GC403-4"
and it worked until I went to the devices menu, where it said it was an illegal device.
--- Quote End ---
Try synthesizing a design by first setting this Tcl value (which will always succeed, no matter what you set it to), and then click the "Play" menu. Its only then that Quartus will check that its a valid value.
Its possible the same check occurs when you go to the devices menu. You may was well give this alternative a try :)
I guess you could also try downloading some older versions of Quartus and trying them. Older versions are available here:
ftp://ftp.altera.com/outgoing/release/ Cheers,
Dave