10-12-19, 12:13 PM
انت فى البداية كنت تستخدم هذا
OpenFileDialog1.Filter = "PDF Files |*.pdf"
If OpenFileDialog1.ShowDialog = DialogResult.OK Then
AxAcroPDF1.src = OpenFileDialog1.FileName
كل الامر انك ستستخدم الكود بهذا الشكل
AxAcroPDF1.src = Resources.myfilepdf
أو انه بمسار محدد ستقوم باستخدام بهذا الشكل
AxAcroPDF1.src = "d:/myfilepdf.pdf"
OpenFileDialog1.Filter = "PDF Files |*.pdf"
If OpenFileDialog1.ShowDialog = DialogResult.OK Then
AxAcroPDF1.src = OpenFileDialog1.FileName
كل الامر انك ستستخدم الكود بهذا الشكل
AxAcroPDF1.src = Resources.myfilepdf
أو انه بمسار محدد ستقوم باستخدام بهذا الشكل
AxAcroPDF1.src = "d:/myfilepdf.pdf"

