how to extract the contents of a pdf file using vb.net

i m doing a project in which i have 2 extract the contents of a pdf fi

Page 1 of 1

3 Replies - 4648 Views - Last Post: 27 July 2009 - 10:37 PM Rate Topic: -----

#1 mittal sonam  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-July 09

how to extract the contents of a pdf file using vb.net

Posted 27 July 2009 - 10:28 PM

Dim fs As String = TextBox1.Text
Dim obj_reader As New System.IO.StreamReader(fs)
TextBox3.Text = obj_reader.ReadToEnd
obj_reader.Close()



Mod Edit: Please use code tags when posting your code. Code tags are used like so => :code:

Thanks,
PsychoCoder :)

Is This A Good Question/Topic? 0
  • +

Replies To: how to extract the contents of a pdf file using vb.net

#2 PDUNZ  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 50
  • View blog
  • Posts: 376
  • Joined: 17-July 09

Re: how to extract the contents of a pdf file using vb.net

Posted 27 July 2009 - 10:31 PM

Please :code:
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder  Icon User is offline

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

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

Re: how to extract the contents of a pdf file using vb.net

Posted 27 July 2009 - 10:35 PM

Are you receiving any errors? Does this code not work that way you intended it? When asking for help there are a couple items that are vital in order for someone to properly help you:
  • Post the code you're having problems with
  • Post the exact error you're receiving, if you are receiving one
  • If no error explain what the code is doing versus what you want it to do
  • Post your question in the body of your post, not the description field

Was This Post Helpful? 0
  • +
  • -

#4 LoveIsNull  Icon User is offline

  • Recovering D.I.C Addict
  • member icon

Reputation: 52
  • View blog
  • Posts: 646
  • Joined: 10-March 09

Re: how to extract the contents of a pdf file using vb.net

Posted 27 July 2009 - 10:37 PM

It is really best to ask the question in the actual post, also.
If you want to view pdf files, you can use the Adobe Reader COM component among other things...add a reference to your project and draw it on the form.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1