- Code: Select all
If File.Exists(Application.StartupPath + "\foldersign" + "\Report" + last_code_receiptParent + ".pdf") Then
Using x As FileStream = File.OpenRead(Application.StartupPath + "\foldersign" + "\Report.pdf")
PdfViewer1.LoadFromStream(x)
End Using
End If
nb: i have many pages in the pdf file. lets say i use `gotopage(8)` function. how do i automatically scroll to half page of page 8
thanks