PDF Viewer SDK ActiveX

PDF Viewer SDK ActiveX

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

It is PDF Viewer SDK, fast open PDF, support print a PDF, searching the text with C , C#, VB.Net , VB6, Delphi, Vfp, MS Access.

Popular Solution Go   Back

How to using Visual Studio to create your Installer

Step 1: Install the PDF Viewer SDK ActiveX, begin by launching the setup file (https://www.viscomsoft.com/demo/pdfviewersetup.exe). Select the desired installation folder for the PDF Viewer SDK ActiveX and continue with the installation on your development computer.

Step 2: Open your VB.NET or C# project. In this tutorial , you try open testPDF.sln in C:\Program Files (x86)\PDF Viewer SDK ActiveX Control\Examples\vb.net2019 folder.

Step 3: If you have not installed Visual Studio installer. Try select Extensions - Manage Extensions. Then select Microsoft Visual Studio Installer Project and click Download. 


Step 4: After installed Visual Studio installer, you need close the Visual Studio and reopen testPDF.sln. Select File - Add - New Project ... 

Step 5: type installer in textbox and select Setup Project, click Next.

Step 6: enter the project name, now enter testpdfviewersetup and click Create.

Step 7: you will see the screen like as following screen.

Step 8: Select Application folder in left size, then right click the mouse, select Add - Project Output...

Step 9: Select Primary output, click OK.

 

Step 10: In right size listbox, right click the mouse, select Add - File...

Step 11: select viscomprint.dll , viscompdfreader.dll, MFC100U.dll, msvcrp100.dll, msvcr100.dll, gdiplus.dll, pdfviewer.lic files (.NET application need include pdfviewer.lic file) and click Open.

Step 12: select pdfviewer.ocx , then select vsdrfCOMSelfReg in Register property.

Step 13: right click the mouse in right size listbox,  select Add - File... , you need select icon file for shortcut. select your icon file.  e.g. myapp.ico



Step 14: Select User's Desktop in left size, then right click the mouse, select Create Shortcut to User's Desktop.



Step 15: Select Application folder, then select Primary output from testPDF (Active).

 

Step 16: you can rename the shorcut name, rename the shortcut name to Shortcut to pdfviewer app.

Step 17: Select Icon property, select Browse

Step 18: click Browse button 

Step 19: select your icon file, e.g. myapp.ico, then click OK 

Step 20: Select User's Programs Menu  in left size, then right click the mouse, select Add - Folder.

Step 21: rename the folder to your application name. e.g. pdfviewerapp , select pdfviewerapp, then right click the mouse on right size, select Create New Shortcut.

Step 22 : select Application folder, select your ico file. e.g. myapp.ico. then Click OK.

 

Step 23 : select Icon property in Properties. select Browse.


  

Step 24 : click Browse button

Step 25 : select Application Folder, select your icon file. e.g. myapp.ico, then click OK.

Step 26 :click OK button to confirm.

Step 27 :select testpdfviewersetup, right click the mouse, select Rebuild

Step 28: select testpdfviewersetup, right click the mouse, select Open Folder in File Explorer.

Step 29: open Release folder, you should see your installer testpdfviewersetup.msi is created.