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. Other Discussions
  3. IT & Infrastructure
  4. How to Run Foxit using vb in single instance only

How to Run Foxit using vb in single instance only

Scheduled Pinned Locked Moved IT & Infrastructure
tutorial
4 Posts 3 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.
  • C Offline
    C Offline
    chitzdacs
    wrote on last edited by
    #1

    Hi guys, Does anyone here have an idea on how to open pdf files in foxit in just a single instance using visual basic or other languages. When i opened then closed a certain pdf, i want to open the next pdf on the same foxit instance. chito

    V 1 Reply Last reply
    0
    • C chitzdacs

      Hi guys, Does anyone here have an idea on how to open pdf files in foxit in just a single instance using visual basic or other languages. When i opened then closed a certain pdf, i want to open the next pdf on the same foxit instance. chito

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      chitzdacs wrote:

      the same foxit instance

      This should be supported by FoxIT right?

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

      C 1 Reply Last reply
      0
      • V Vasudevan Deepak Kumar

        chitzdacs wrote:

        the same foxit instance

        This should be supported by FoxIT right?

        Vasudevan Deepak Kumar Personal Homepage
        Tech Gossips
        A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

        C Offline
        C Offline
        chitzdacs
        wrote on last edited by
        #3

        Well, the problem with foxit is once you opened a series of pdf files, let say 3 pdf files, 3 foxit program will be opened. I used shell command and sendkeys. I'm currently maintaining a program that retrieves records from database and open their corresponding pdf file once i browse each record. Once the pdf of first record has been opened then going to the next record, i've just used sendkeys command to close the current pdf file (ctrl+w) and retain the foxit program. Once i pressed the next button and open the pdf of next record, the 2nd pdf will not be opened on currently running foxit, instead, a new foxit instance will run. thus if i have 10 records/10 pdf, 10 foxit viewer will also be opened. and thats my problem right now :(

        S 1 Reply Last reply
        0
        • C chitzdacs

          Well, the problem with foxit is once you opened a series of pdf files, let say 3 pdf files, 3 foxit program will be opened. I used shell command and sendkeys. I'm currently maintaining a program that retrieves records from database and open their corresponding pdf file once i browse each record. Once the pdf of first record has been opened then going to the next record, i've just used sendkeys command to close the current pdf file (ctrl+w) and retain the foxit program. Once i pressed the next button and open the pdf of next record, the 2nd pdf will not be opened on currently running foxit, instead, a new foxit instance will run. thus if i have 10 records/10 pdf, 10 foxit viewer will also be opened. and thats my problem right now :(

          S Offline
          S Offline
          SimulationofSai
          wrote on last edited by
          #4

          Well, if you use shell to open an instance of an exe, you'll get multiple instances for each file you open. Check if foxit has an object library you can use to manipulate it.

          SG Cause is effect concealed. Effect is cause revealed.

          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