0

I tried to search over this site and others as well.
But couldnt help me to solve the above matter.
Actually i want to do a searching algorithm in a PDF file.
I tried to use:

[EMAIL="%@Import"]Import[/EMAIL] Namespace="System.IO"%>

Sub page_load(ByVal Sender As Object, ByVal e As EventArgs)
Dim filetoread As String
filetoread = "C:\BuzznetAds30Mac07.pdf"
Dim filestream As StreamReader
filestream = File.OpenText(filetoread)
Dim readcontents As String
readcontents = filestream.ReadToEnd()
MsgBox(readcontents)
filestream.Close()
End Sub

but it gave me "dont know what characters".
I studied that the API for pdf is different. In order able to read the pdf, i required 3rd party's component to do so..

I would like to know, is there any other alternative? Vb 6.0, Vb.net, C# are welcomed.

Thank you.
Hope that you guys out there can help me...strrrrrugle for 2 weeks researching for this...

4
Contributors
3
Replies
8
Views
11 Years
Discussion Span
Last Post by raydenvm
0

pdf is owned by Adobe but they have opened it for developers.But it is complicated and for simple needs it would seem third party libraries are better solution than developing a solution yourself.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.