You should be able to use your old registration number, but please note that some very old registrations have been known to not work with mIRC 7.x

To enter your registration information type /registration
Then fill out the dialog that opens.
If your registration code does not work, then please follow these instructions:
1) Confirm that the information you are entering agrees with the e-mail you received.
2) If you don't have that e-mail, use this link to request the information be resent.
3) If you are still having problems, e-mail Khaled at Khaled@mirc.com and explain your situation. He will look into it, and, if necessary, issue you a new registration code.