PDF per Buttonklick öffnen

Visual Basic.NET

openpdf.vb
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Process.Start("D:\book.pdf") ' Variante 1
        WebBrowser1.Navigate("D:\book.pdf")  ' Variante 2
        AdobeReader.src = "D:\book.pdf"  ' Variante 3:  Braucht Referenz zum COM Komponente: Adobe pdf Reader
End Sub
dotnet/pdf_per_buttonklick_oeffnen.txt · Zuletzt geändert: 27.12.2013 19:46 (Externe Bearbeitung)
Nach oben
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0