How to Run Foxit using vb in single instance only
-
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
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 -
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 LevinsonWell, 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 :(
-
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 :(
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.