I am able to open a pdf if I right click and choose a program to open the pdf but if I just double click the error .pfd is not a valid win32 application apprears.
How can I fix this
You probably need to correct your file associations. How to do so depends upon the OS. You can find more information in the Acrobat/Reader faq.
Open a command prompt and enter
what is the reply?
The reply is .pdf=acroExch.document
Retrieving data ...