Opening PDF file separated by pages
-
Hi there. I've got a question on how to program a system that can open a PDF document by opening chapters of a document in the same content document. I'm planning to do something like a PDF viewer which allows only viewing the document based on pages using the Table of COntents. However i'm unsure on how to apply them in .NET. Thx for the help...
-
Hi there. I've got a question on how to program a system that can open a PDF document by opening chapters of a document in the same content document. I'm planning to do something like a PDF viewer which allows only viewing the document based on pages using the Table of COntents. However i'm unsure on how to apply them in .NET. Thx for the help...
Hi, I just have the project that open PDF file in adobe acrobat reader from our application vb6. It might not answer your question but just give you an idea. 1. In VB6, create a form with one button name Command1. 2. Put the following code on the general declaration section. (It call to the windows API)
Private Declare Function ShellExecuteA Lib "shell32" (ByVal hWnd As Long, _ ByVal Op As String, ByVal file As String, ByVal params As String, _ ByVal directory As String, ByVal ShowCmd As Long) As Long
3. Double click Button1 and write the following code.Call ShellExecuteA(0, vbNullString, "C:\PDF_File.pdf", vbNullString, _ vbNullString, vbShowNormal)
Note: * There is no component or reference were added to this project. * I got an idea from expert-exchange website. But I have changed some option in the code to match my file path. Roath Kanel APO-CEDC Save Children Norway-Cambodia Office