Updating PDF file which is opened

Hi,
We are using VB application to create PDF files(calling Oracle report) and moving into central location,if any user opened a particular PDF file in central location for viewing purpose,At that time I could not move the file for the recent changes.I mean the file is not updating.Can you suggest me the best way so that I could update the PDF file while some user in the network is viewing the pdf file.
Thanks,
kollu
LVL 5
kolluAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Leo EikelmanDirector, IT and Business DevelopmentCommented:
wouldn't this be more of a DBA issue?  It sounds like if someone opens the PDF file then it gets locked in the database.  You will have to talk to your DBA to change these constraints, so that when someone opens the PDF file it does not get locked in the database.

Leo
LordWabbitCommented:
If the file is in use then you cannot update it, there might be some hacks to kick the users off the system share, but the results can be unpredictable.  Would it be possible to write the file off with a different name (say MyPDFFile_Newer.pfd) which you can then have another program periodically check when the old file has been release and then delete the old one and rename the new one.  In that way your other uses will be aware that there is a newer version of the file available.  Of course if someone opens the new version AND the someone else still has the old version open you are a bit stuck.  Ultimately the best solution would be to force the users to download the file and open it locally, in that case I would go for a simple web site which lists available pdf's and then when the user selects one it would download locally and open in the browser.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.