PDF lock after create by API
Posted: Tue Sep 08, 2009 3:54 pm
I create a little application where they use BullZip API to print a report in PDF
but after first creation, the PDF is locked by the application
My Bullzip version is 6.0.659
my code
---------------------------
Dim myobject As New Bullzip.PDFPrinterSettings
myobject.SetValue("output", getFile)
With ClassSofticket.table.clsInformationEntreprises.getFirstInstance
myobject.SetValue("title", .NomEtablissement & " (" & .SiteInternet & ")")
End With
myobject.SetValue("subject", _Item.getTransactionType.Type & " (" & getCodeBarre() & ")")
myobject.SetValue("keywords", _Item.getNom(langue) & " (" & _Item.getDebut.ToString("yyyy-MM-dd") & ") " & _Item.getNomPrix(langue))
myobject.SetValue("showsettings", "never")
myobject.SetValue("showpdf", "no")
myobject.SetValue("ConfirmOverwrite", "no")
myobject.WriteSettings(True) 'writes the settings in a runonce.ini that it immediately deleted after being used.
------------------------
all pdf created have the process locked by my application, how i can unlock ???
i try with
Dim myobject As New Bullzip.PDFPrinterSettings
myobject.RemoveSettings()
but that don't work
i not see other closing method
but after first creation, the PDF is locked by the application
My Bullzip version is 6.0.659
my code
---------------------------
Dim myobject As New Bullzip.PDFPrinterSettings
myobject.SetValue("output", getFile)
With ClassSofticket.table.clsInformationEntreprises.getFirstInstance
myobject.SetValue("title", .NomEtablissement & " (" & .SiteInternet & ")")
End With
myobject.SetValue("subject", _Item.getTransactionType.Type & " (" & getCodeBarre() & ")")
myobject.SetValue("keywords", _Item.getNom(langue) & " (" & _Item.getDebut.ToString("yyyy-MM-dd") & ") " & _Item.getNomPrix(langue))
myobject.SetValue("showsettings", "never")
myobject.SetValue("showpdf", "no")
myobject.SetValue("ConfirmOverwrite", "no")
myobject.WriteSettings(True) 'writes the settings in a runonce.ini that it immediately deleted after being used.
------------------------
all pdf created have the process locked by my application, how i can unlock ???
i try with
Dim myobject As New Bullzip.PDFPrinterSettings
myobject.RemoveSettings()
but that don't work
i not see other closing method