开发者

abode acrobat reader with vb.net

开发者 https://www.devze.com 2023-01-11 18:27 出处:网络
I am trying to display a PDF in an Adobe PDF reade开发者_开发百科r COM component in VB.NET. All i do is:

I am trying to display a PDF in an Adobe PDF reade开发者_开发百科r COM component in VB.NET.

All i do is:

   AxAcroPDF1.LoadFile("file path here")

But for some reason it's not displaying the PDF.

Can someone please advise me on what am I doing wrong here?


You need to do a axAcroPDF1.Show()

According to the documentation you need a control for each new file you load, they aren't completely re-usable.

0

精彩评论

暂无评论...
验证码 换一张
取 消