Jump to content

WebBrowser Component in c#


Recommended Posts

Hi there you guys,

Can someone give me a hand?

I'm using the WebBrowser componente in c# to display a pdf file within and app.

The pdf is stored within a database and when I need to show it to the users I save it to the local harddrive with a specific name "mytool.pdf", whenever i try to load a different tool in the app I delete the existing file and replace it with the new one.

I used to use the AXAcropdf component to show the file and my program worked perfectly. I just got some errors with an update of adobe's pdf reader that made me change to the WebBrowser component.

Is there any way I can prevent WebBrowser component from locking the file?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...