AxVSPrinter in .NET Core

Posted by: hrvoje.zirdum on 23 June 2020, 12:58 am EST

    • Post Options:
    • Link

    Posted 23 June 2020, 12:58 am EST

    Hello,

    I’m trying to convert some vp file into PDF.

    It works well on .NET framework, but when I tried to convert to .NET Core there is an error…

    AxVSPrinter vSPrinter = new AxVSPrinter();

    vSPrinter.CreateControl();

    vSPrinter.LoadDoc(vpFilePath, false);

    vSPrinter.PreviewPage = 0;

    Image image = vSPrinter.Picture;

    ERROR: vSPrinter.Picture’ threw an exception of type ‘System.Runtime.InteropServices.ExternalException’

    Is there any solution to this?

    Thank You

  • Posted 23 June 2020, 9:31 pm EST

    Hi,

    I am sorry but we do not support ActiveX controls in .Net core environment.

    Thanks,

    Pragati

Need extra support?

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

Learn More

Forum Channels