C# Winform ActiveX error while add in VFP form


I create one ActiveX control for PDFViewer (PdfiumViewer.dll) to use in Visual FoxPro form.

When adding to the Visual Foxpro form, I received the following error:

first time Ole Error class not registered ole error code 0x80040154


Ole Error code 0x80070002: The system cannot find the file specified.

asked on Stack Overflow Oct 1, 2019 by Piyush JV • edited Oct 28, 2019 by Herb

1 Answer


fixed with RegAsm with /codebase

answered on Stack Overflow Oct 16, 2019 by Piyush JV

User contributions licensed under CC BY-SA 3.0