Hi,
We have developped a visual basic tool to convert office document to pdf using pdfconverter (cdintf.dll provided by Amyuni). The dll created has been deployed on a W2K advanced server where Office Standard XP has been installed. When we tried to convert a powerpoint document, we receive an error message "permission denied" and the document is not converted. Everything is ok for Word, Excel. When the document is send to the amyuni printer driver through Microsoft Powerpoint, the document is converted.
Any idea will be very appreciated to help us.
Best regards,
CharlieM
PDF converter - permission denied
Hi,
Sorry for the late post but if you are still having problems please run the code below. Does it generate a permission denied error?
Dim myPowerApp As New PowerPoint.Application
Dim myPowerPres As PowerPoint.Presentation
pdf.DriverInit "Amyuni PDF Converter"
pdf.DefaultDirectory = "c:\temp"
pdf.DefaultFileName = "c:\temp\powerpoint.pdf"
pdf.FileNameOptions = 3
myPowerApp.Visible = True
Set myPowerPres = myPowerApp.Presentations.Open("c:\sample.ppt")
myPowerPres.PrintOut (False)
Set myPowerApp = Nothing
pdf.FileNameOptions = 0
pdf.DriverEnd
Thanks
Sorry for the late post but if you are still having problems please run the code below. Does it generate a permission denied error?
Dim myPowerApp As New PowerPoint.Application
Dim myPowerPres As PowerPoint.Presentation
pdf.DriverInit "Amyuni PDF Converter"
pdf.DefaultDirectory = "c:\temp"
pdf.DefaultFileName = "c:\temp\powerpoint.pdf"
pdf.FileNameOptions = 3
myPowerApp.Visible = True
Set myPowerPres = myPowerApp.Presentations.Open("c:\sample.ppt")
myPowerPres.PrintOut (False)
Set myPowerApp = Nothing
pdf.FileNameOptions = 0
pdf.DriverEnd
Thanks