Click here to Skip to main content
12,951,983 members (55,624 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 7:21am
Sergey Alexandrovich Kryukov 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.
ProgramFOX 21-Sep-12 13:32pm
Preview the PDF as a image, or in a RichTextBox?
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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

Rate this: bad
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:[^].

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:[^],[^],[^].

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


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

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,239
CHill60 3,490
Maciej Los 3,083
Jochen Arndt 1,975
ppolymorphe 1,880

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 24 Sep 2012
Copyright © CodeProject, 1999-2017
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