Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Private Sub OpenToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles OpenToolStripMenuItem.Click
- OpenFileDialog1.ShowDialog()
- End Sub
- Private Sub ExitToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles ExitToolStripMenuItem.Click
- End
- End Sub
- Private Sub OpenFileDialog1_FileOk(sender As System.Object, e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
- AxAcroPDF1.src = OpenFileDialog1.FileName
- End Sub
- End Class
- 'Note:
- 'You need a menustrip, open file dialog, and the Adobe Reader COM componement
- '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement