Click here to Skip to main content
11,484,752 members (76,934 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
I have windows application to save articles and when I browsing the saving articles I want to preview this article in PDF format where the article is saving on the hard disk in pdf format and I want to call this article from hard disk
please help me
Posted 21-Sep-12 8:21am
Comments
Sergey Alexandrovich Kryukov at 21-Sep-12 13:26pm
   
What is "open PDF", exactly? "Open" is just a metaphor in this context. You can read/parse PDF to present the data somehow, or you want to implement a fully-fledged PDF viewer? Also, you need to tag what do you mean by "windows application". It can be Forms, WPF, Metro or something else.
--SA
ProgramFOX at 21-Sep-12 13:32pm
   
Preview the PDF as a image, or in a RichTextBox?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Try Process.Start[^] - it allows you to execute any executable from within your program.

Example:
Process.Start("MyPDFPathLocation")
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question.

Unfortunately, I don't know any fully-fledged non-commercial PDF viewers for .NET, and I don't think I can promote anything commercial here, so look by yourself:
http://bit.ly/PQi34w[^].

Remember now, for the viewer, it's important to know what UI library do you want to use, but you did not specify it (again, see my comment to the question).

If you need to read and parse PDF to access and present its data somehow, you can use the .NET clone of the iText library called iTextSharp:
http://en.wikipedia.org/wiki/IText[^],
http://itextpdf.com/[^],
http://sourceforge.net/projects/itextsharp/[^].

The reference to original Java version is also important, because probably most (if not all) documentation is there.

—SA
  Permalink  
v2

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

  Print Answers RSS
0 Maciej Los 190
1 Sergey Alexandrovich Kryukov 160
2 Raje_ 155
3 OriginalGriff 137
4 Mehdi Gholam 130
0 Sergey Alexandrovich Kryukov 8,494
1 OriginalGriff 7,948
2 Sascha Lefèvre 3,199
3 Maciej Los 2,681
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 24 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100