Create Pdf File From Vb6 String

Posted on admin
FromVb6 string formatVba create pdf file

Create Pdf From Multiple Files

I am working with VB6.0 and I have a requirenment to create a password protected pdf file in vb6.0. I have successfully created a PDF file but how do i make it password protected?

Edit: I am creating my PDF file by exporting from word file using this code. ObjWordDoc.ExportAsFixedFormat OutputFileName:= sDests & sDestsPDFFile, ExportFormat:=wdExportFormatPDFOpenAfterExport:=False, OptimizeFor:=wdExportOptimizeForPrint, Range:= wdExportAllDocument, From:=1, To:=1, Item:=wdExportDocumentContentIncludeDocProps:=True, KeepIRM:=True, CreateBookmarks:= wdExportCreateNoBookmarks, DocStructureTags:=True, BitmapMissingFonts:= True, UseISO190051:=False. No i am not using any library. I am creating my PDF file by exporting from word file using this code. ObjWordDoc.ExportAsFixedFormat OutputFileName:= sDests & sDestsPDFFile, ExportFormat:=wdExportFormatPDFOpenAfterExport:=False, OptimizeFor:=wdExportOptimizeForPrint, Range:= wdExportAllDocument, From:=1, To:=1, Item:=wdExportDocumentContentIncludeDocProps:=True, KeepIRM:=True, CreateBookmarks:= wdExportCreateNoBookmarks, DocStructureTags:=True, BitmapMissingFonts:= True, UseISO190051:=False – Feb 18 '14 at 12:38.