PDF Viewer SDK ActiveX x64

PDF Viewer SDK ActiveX x64

Platform : Windows 10, Windows 8, Vista, Windows 7, XP

It is a 64 bit and 32 bit PDF Viewer SDK, fast open PDF, support print the PDF, searching the text for 32 bit, 64 bit MS Access 2016, VB.NET, C#, Delphi, VB6, VFP.

Popular Solution Go   Back

C# - How to create 64 bit PDF Viewer application from NuGet Packages

Step 1: Close the Visual Studio 2019.

Step 2: Run the Visual Studio 2019  as Administrator.  Right click on your VS product and select Run as administrator.

Step 3: Select Visual C# or Visual Basic, Select Windows Form Application.

Step 4: Select your project in Solution Explorer, Right click the mouse, select Manage NuGet Packages...

Step 5: This brings up the NuGet Package Manager, enter "pdfviewercontrol" in search textbox , then select Viscomsoft.PDFViewerControl.WinForms.x64 package and click Install button.

Step 6: Now you will see DllRegisterServer in PDFViewer.ocx successful Message Box two times.

Step 7:  Select Toolbox, select Components item, right click mouse button, select Choose Items...

Step 8:  Select COM Components tab, select PDF Viewer ActiveX x64 Control , click OK.

Step 9:  Now the  PDF Viewer SDK ActiveX x64 Control's icon will display on Toolbox.

Step 10:  Drag the PDF Viewer SDK ActiveX x64 Control from toolbar to form and add two buttons.

Step 11: double click Form1.cs in the Solution Explorer, it will display the form , double click the form. Add the below code on Form1_Load

 private void Form1_Load(object sender, EventArgs e)
            axPDFViewer1.LoadPDFFile ("c:\yourfolder\your.pdf");

Step 12: double click the button1. Add the below code on button1_Click
private void button1_Click(object sender, EventArgs e)

Step 13. double click the button2. Add the below code on button2_Click
private void button2_Click(object sender, EventArgs e)
Step 14: Press F5 to Run the project. 

Step 15. Select Solution Platforms - Select Configuration Manager...

Step 16. In Active solution platform: Select <New...>

Step 17. Select x64 in "Type or select the new platform:" , then click OK.

Step 18. Finally, Make sure you selected x64 in Solution Platforms, press F5 to run the project. Now it run 64 bit application.