Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to open any pdf (password protected or simple) to open in windows application for read.
how i can do it plz help me.


thank you .
Posted
Updated 8-Sep-14 23:45pm
v2

1 solution

if you understand you well ,,, you want to view pdf file in C# form :
this is how :

* fron the toolBox add webBrowser object to your form .
* set the browser url to your pdf file location
C#
webBrowser1.Url = new Uri("C:\path.pdf");
 
Share this answer
 
Comments
pradeep programming 9-Sep-14 6:05am    
if pdf password protected then

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900