who to open pdf file in vb.net

who to open pdf file in vb.net

Page 1 of 1

2 Replies - 3651 Views - Last Post: 22 December 2009 - 10:35 PM Rate Topic: -----

#1 abdulazees_1  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 22-December 09

who to open pdf file in vb.net

Post icon  Posted 22 December 2009 - 06:36 PM

who to open pdf file in vb.net
Is This A Good Question/Topic? 0
  • +

Replies To: who to open pdf file in vb.net

#2 LeisureProgrammer  Icon User is offline

  • N00by VB.NET Developer
  • member icon

Reputation: 110
  • View blog
  • Posts: 588
  • Joined: 06-September 09

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:
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.
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1641
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

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 **
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1