WPCubed Product Support

How to set encryption level to 128bit in VB6???

wpsupport

The OCX does not allow to change the property Security. With .NET its no problem since there you can access PDFControl.PDFCreator.Security, but the OCX does not have this method.

#2 ♥ 0
8.5k Views 2 users read 1 min

The question as the subject.

call PDFControl1.SetIProp(13, 1) <-- How to make setiprop() work in vb6???

The next question is how to set the wpdfcontrol always allow printing on secured pdf file........

PDFControl1.SECURITY_UserPassword = "1111"
PDFControl1.SECURITY_Permission = 1

If PDFControl1.StartEngine(App.Path & "\wPDFControl03.dll", , , ) = True Then
PDFControl1.BeginDoc strOutFilename & ".pdf", 0
PDFControl1.DrawMetafile Image1.Picture.handle, 0, 0, 0, 0
PDFControl1.EndPage
PDFControl1.EndDoc
PDFControl1.StopEngine
End If

Hope someone can help me please ...

#1 ♥ 0