Yes exactly, I want to achieve that. BTW I've disabled download for non-registered users and the link hides. Thank you for your help, I'll be playing around the code to see if I find something working. I was hoping if VB5 is providing any such feature inbuilt. Again thanks.