Niall, thanks for the reply. This URL http://assure.ly/vRyoeQ was helpful, but it is not working for any type of file. My PDF might have any kind of attached document say a simple text or word document or excel or a PDF. The code help in that URL is not working for my scenario. FYI, I displayed the ...