Amit
Amit

Reputation: 7035

abode acrobat reader with vb.net

I am trying to display a PDF in an Adobe PDF reader 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?

Upvotes: 0

Views: 2443

Answers (1)

Benjamin Anderson
Benjamin Anderson

Reputation: 1384

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.

Upvotes: 1

Related Questions