VsPdf.ConvertDocument Not converting pdf

Posted by: query123 on 16 September 2017, 8:27 am EST

  • Posted 16 September 2017, 8:27 am EST

    Hi,

    I am using VsPdf.ConvertDocument the following way

    frm1.VSPDF.ConvertDocument frm2.VsPrinter,FilePath &.tmp

    This works fine on my development environment but when I move this to system testenvironment ,the pdf is not generated.

    I have VSPDF.ocx and VsPdf.oca under c:/windows/system32

    I have have VSPrint.ocx and VsPrint.oca under c:/windows/system32

    Can some one please help me as to why the file is not generated.Something wrong with path or permission?

    I get the following error message

    Can’t open output file (bad file name, in use by other application).

    Please help ,I am stuck at this

    Thanks,

  • Posted 16 September 2017, 8:27 am EST

    Hello,

    Try removing the oca files, since they are not needed at runtime. Also, you need to register the .ocx files with regsvr32 if you have not already done so. Keep in mind that on a 64 bit version of Windows, the controls should go into the syswow64 directory.

    Suelinda W

  • Posted 16 July 2018, 4:41 pm EST

    I would recommend to check https://zetpdf.com/

    library

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels