PDF Converter Error


I am using PDF Creator 0.9.7. By using this, converting my email attachments directly in to PDF format. It is converted without any issues but while opening the converted PDF file, getting an error like

"Could not open the pdf files because it is either not a supported file type or because the file has been dameged (for example, it was sent as an email attachment and wasn't correctly decoded"

I am using the given Visual Basic 6 code to convert the attachements in to PDF.

             Set pdf = New CreatePDF

             sOutputFilename = objSafeMailItem.Attachments.Item(lAttachmentIndex).FileName & ".pdf"
             sOutputFilePath = JoinAsPath(sOutputPath, sOutputFilename)
             pdf.ConvertToPDF objSafeMailItem.Attachments.Item(lAttachmentIndex).FileName, sOutputPath, sOutputFilename
             'Close the PDFCreator.
             DoEvents    'Let it finish shutting things down.
             Set pdf = Nothing


Please share your suggestion to resolve this issue.

Also please share the information like how to convert the multiple attachments in to one PDF file.