Pre college for credit vs. no credit course

Which has more value from a future admissions standpoint, a pre college program that offers credit, and is typically open also to undergraduates at the same university with the actual college prof. Teaching, or the programs which have no credit or formal assessment. Presumably the rigour of the for credit will be appreciative but many say it makes no difference, so then why go through it?..