Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Opening PDF file separated by pages

Opening PDF file separated by pages

Scheduled Pinned Locked Moved Visual Basic
csharphelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    franco_82
    wrote on last edited by
    #1

    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...

    L 1 Reply Last reply
    0
    • F franco_82

      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...

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups