Can anyone please tell me the best way to make a time trialed edition of an application in visual basic 5 ?

ie do i just create a file somewhere hidden on the system, which contains the date of the first time the application was run, and simply check this each time program is run.

Or is there a better way using the registry or something?

Any idears would be great thanks.