PDFCReader Control

R

Rich K

I have a form with a PDFCReader Control. I also have a listbox that is
populated by pdf files in a specific folder. Users scan documents into this
folder and the list is updated automatically.

When the user single clicks on the list the clicked document previews in the
PDFCReader Controls. This works well. The user can then select a location
to copy the file, and this copy process works. I then would like to kill the
file from the original location but since it is open in the viewer I get a
windows error (as it should).

Does anybody know how I can look through the pdf's in the viewer and
determine if the specific document is open and then close it so I can delete
it?
 
T

Tom van Stiphout

On Mon, 29 Mar 2010 09:46:01 -0700, Rich K

One thought I had was to create a special "blank.pdf" file that you
could select in the viewer when you don't want any other "real" file
to be selected.

-Tom.
Microsoft Access MVP
 
R

Rich K

Thanks for the idea Tom.

I have been allowing multiple pdf's to be opened in the viewer, so the
process may be a bit different then came across in my description. However,
you may have pointed me in a valuable direction, in that maybe if I just
allow one document open at a time I can close the whole viewer and therefore
closing the document which then will allow me to kill it.

I will start down this new path, but if anybody has any ideas on my original
issue please chime in, as I kind of like having multiple files open, and my
client would be pleased with this feature.

Thanks,
Rich
 
T

Tom van Stiphout

On Tue, 30 Mar 2010 08:05:01 -0700, Rich K

Can each of these viewer windows display the new "blank.pdf"?
Or does this control allow the document somehow to be set to Nothing?

-Tom.
Microsoft Access MVP
 
T

tom_willpa

high quality Soccer jerseys NBA Jersey tracksuit and jackets, GHD
hairstraightener supplier from www.willpa.com

Are you a Retail businessman who bother by the purchase price? China
Cheapest TOP wholesale website can help you

we are specialize in replica sport goods manufacturing in china, we can
offer you all kinds of soccer jersey, NBA jersey,shoes and so on. they are
the best brand replica goods whih are look the same as the original goods.
excellent quality and steady supply for them. we have been marketed in Europe
and American for 3 year. all the goods we offer are AAA quality. our soccer
jersey are Thailand style. If any goods you buy from my company have problem,
we will refund or resend them again. Most of ourProducts have no minimum
order requirements,soyou can shop retail goods at wholesale prices. if you
can buy more than 300usd. We offer free shipping. The more you buy the more
discount for you.

National soccer jerseys: http://www.willpa.com
Club soccer jerseys: http://www.willpa.com
NBA Jerseys: http://www.willpa.com
T-shirt and shirt: http://www.willpa.com
Tracksuit: http://www.willpa.com
Hoody & Jackets: http://www.willpa.com
UGG boots: http://www.willpa.com
Hair style: http://www.willpa.com
shopping Index: http://www.willpa.com

EMS shipping. 7days arrive, paypal accept

want more information pls contact us or check our website: www.willpa.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top