Bonjour,
Je souhaite utiliser PDFCreator dans une application web 1.1 mais j'ai une erreur sur le New PDFCreator.clsPDFCreator
Mon code :
Private WithEvents _PDFCreator As PDFCreator.clsPDFCreator
Private pErr As PDFCreator.clsPDFCreatorError
Private pd As PrintDocument
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
''
Dim parameters As String
Try
_PDFCreator = New PDFCreator.clsPDFCreator
pErr = New PDFCreator.clsPDFCreatorError
parameters = "/NoProcessingAtStartup"
If _PDFCreator.cStart(parameters) = True Then
_PDFCreator.cClearCache()
_PDFCreator.cOption("UseAutosave") = 1
_PDFCreator.cPrinterStop = False
End If
Catch ex As Exception
Response.Write(ex.Message)
End Try
End Sub
j'ai l'erreur : System.UnauthorizedAccessException, Accès refusé.
or ce même code fonctionne dans un projet de type winform ...

J'ai mis un contrôle total à tout le monde sur le répertoire de mon imprimante pdfcreator mais ça ne change rien, j'ai toujours la même erreur...
Si quelqu'un a une idée...
Merci d'avance