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

  • 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 ...