1. Home
  2. Foxit PDF SDK ActiveX
  3. How to use Foxit PDF SDK ActiveX in C# or VB?

How to use Foxit PDF SDK ActiveX in C# or VB?

  • Follow the steps outlined to use Foxit PDF SDK ActiveX in C# or Visual Basic:
  • Open Visual Studio 2010/2013
  • Select File -> New ->Project -> Visual C# or Visual Basic -> Windows -> Windows Forms Application -> OK
  • Select Tools -> Choose Toolbox Items-> COM Components
  • Check “FoxitPDFSDK Pro Control” -> OK

Note: If “FoxitPDF Pro Control” or “FoxitPDF Std Control” is not found on the list at this step.  It means you did not register the Foxit ActiveX .ocx correctly.  If you have the OCX, please open a command prompt with “Run as Administrator” and register the OCX with the command “regsvr32 <NameOfFoxitActiveX>.ocx” If you received a msi, please run the MSI and it will do the registration for you.

  • Select View -> ToolBox
  • Locate “Foxit PDF SDK Pro Control” in the ToolBox and drag it to the form Designer UI
  • Build and run application
Updated on September 27, 2019

Was this article helpful?

Related Articles

Ready to try Foxit PDF SDK?
Click the link below to download your trial
Free Trial