Windows Vista product key (that is on a sticker on the side of the PC) will work with the Windows 7 CD?
I think you know the answer to that question.
Does the word "Vista" sound like "Seven" ?
Do the right thing and buy a legit license, suitable for your needs. If you're not a student, don't buy a student license.