Hi,
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)
OutStream.Close()
I get an error "File is being used by an other process"
What do I miss in ending the first operation?
Regards,
Brian
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)
OutStream.Close()
I get an error "File is being used by an other process"
What do I miss in ending the first operation?
Regards,
Brian