C# Open a pdf from url in windows form

329 views Asked by At

I want to show some pdfs on my windows form program.

When i pick a pdf that on my pc the code below is working:

axAcroPDF1.LoadFile("C:\\Users\\X260\\Desktop\\TP100.pdf");

But if i I pick a pdf from an url, the code is not working. It doesn't gives error but i just see a blank page.

path = "https://" + "www.massgrup.com/mask/Sertifikalar" + "/" + yol; 
axAcroPDF1.LoadFile(path);

How i can show a pdf from url on my windows form ?

0

There are 0 answers