PDF Reader (Tutorial)
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
6 posts
Page 1 of 1
Requirements: 1 Form, 1 button, 1 PDF reader:
1: To add a pdf reader to the form:
On the Toolbox: right click the mouse and click on Choose Items...
2: A Window will appear, Click on COM Components.
Scroll down to Adobe PDF Reader and check it then click ok.
3: Then click ok.
This will add Adobe PDF Reader control to the control box:
4: Then drag Adobe PDF Reader to the form:
5: Then add OpenFileDialog to the form.
6: Change OpenFileDialog Filter property to PDF Files (*.pdf)|
7: Double click on Open button and place this code code.
1: To add a pdf reader to the form:
On the Toolbox: right click the mouse and click on Choose Items...
2: A Window will appear, Click on COM Components.
Scroll down to Adobe PDF Reader and check it then click ok.
3: Then click ok.
This will add Adobe PDF Reader control to the control box:
4: Then drag Adobe PDF Reader to the form:
5: Then add OpenFileDialog to the form.
6: Change OpenFileDialog Filter property to PDF Files (*.pdf)|
7: Double click on Open button and place this code code.
Code: Select all
-Thanks-Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
OpenFileDialog1.ShowDialog()
AxAcroPDF1.src = OpenFileDialog1.FileName
End Sub
Last edited by MANSQN on Tue Feb 14, 2012 10:20 pm, edited 5 times in total.
Bogoh67 wrote:great tutoriali know but it's fun to make. thanks
but who uses PDF readers anymore :P
Bogoh67 wrote:great tutorialI use it alot
but who uses PDF readers anymore :P
6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023