Closing PdfFormatProvider.Export

2 posts, 0 answers
  1. Brian
    Brian avatar
    24 posts
    Member since:
    Apr 2008

    Posted 29 Sep 2014 Link to this post


    When trying to overwrite an already created pdf file using the following code:

          Dim OutStream As New FileStream(Me.FileName, FileMode.Create)
          PdfFormatProvider.Export(Me.PDFDocument, OutStream)

    I get an error "File is being used by an other process"

    What do I miss in ending the first operation?

  2. Kammen
    Kammen avatar
    312 posts

    Posted 29 Sep 2014 Link to this post

    Hi Brian,

    We were unable to reproduce such behavior. Is it possible to open a support ticket and attach a project that will demonstrate this? This will allows us to investigate the cause of the issue on our end and advise you accordingly.

    We are looking forward to hearing from you.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top