in vb.net is it possible to display a pdf file on a form?
+3
A:
A quick hack for this would be to use a WebBrowser control (assuming the client has Adobe Reader installed) and navigate it to the PDF file you want to display.
MusiGenesis
2009-08-24 20:44:45
cool suggestion, but the thing is i will need to place images on top of the pdf
I__
2009-08-24 20:46:08
Put the images in PictureBoxes, and put the PictureBoxes over the WebBrowser control. I think the WebBrowser has a Controls collection, and if it doesn't you just add the PictureBoxes to the form's Controls collection and call BringToFront on them.
MusiGenesis
2009-08-24 21:04:19
+3
A:
If you're looking to display a PDF without needing Acrobat Reader installed on a client machine, take a look at this:
PDF Viewer Control Without Acrobat Reader Installed
I haven't tried it yet but probably will.
Jay Riggs
2009-08-24 20:46:07
+1 I like it, but I'd personally be a bit wary of having to deploy that many third-party DLLs along with my app. Not that my solution is much better.
MusiGenesis
2009-08-24 20:51:25
I wouldn't assume that the client has Adobe Reader installed, nor that they have PDF viewing in the web browser enabled. What's more, if they don't, it's a hefty download. What's worse, a few third-party DLLs or one humongous dependency? Which will the user be less affected by?
Rowan
2009-08-26 10:22:40