who to open pdf file in vb.net
who to open pdf file in vb.netwho to open pdf file in vb.net
Page 1 of 1
2 Replies - 2502 Views - Last Post: 22 December 2009 - 10:35 PM
Replies To: who to open pdf file in vb.net
#2
Re: who to open pdf file in vb.net
Posted 22 December 2009 - 07:05 PM
To start off, you'll need some sort of PDF control, to get one:
Make a new app > Go to designer view > Right-click toolbox > Choose Items > COM tab > Adobe PDF Reader > Drag one onto your form
And then change the "src" property to the pdf file you want to view, like:
Now I'm getting a COM expection when I do this - but it might work for you... If it doesn't maybe you or another DIC member can do some research and find out how to fix it.
Make a new app > Go to designer view > Right-click toolbox > Choose Items > COM tab > Adobe PDF Reader > Drag one onto your form
And then change the "src" property to the pdf file you want to view, like:
AxAcroPDF1.src = "http://www.nhl.com/ext/0708rules.pdf"
Now I'm getting a COM expection when I do this - but it might work for you... If it doesn't maybe you or another DIC member can do some research and find out how to fix it.
#3
Re: who to open pdf file in vb.net
Posted 22 December 2009 - 10:35 PM
Please read up on the Forum Rules, particularly the section where we say we wont do your homework (or programming work) for you, nor will any source code be handed out before you show some sort of an effort, before opening a new thread 
** Closed **
** Closed **
Page 1 of 1
|
|

New Topic/Question
This topic is locked




MultiQuote



|