hi i just downloaded this aspose.total and i add the reference to aspose.pdf to my application then call imports aspose.pdf, but when i tried to run the app i get the error:
Warning 1 The referenced assembly "Aspose.Pdf, Version=6.4.0.0, Culture=neutral, PublicKeyToken=47b2d0fcacdd3eb6, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. pdftextextractor
'This is the code that i have so far
Imports Aspose.Pdf
Imports Aspose.Pdf.Text
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim pdfDocument As New Document("C:\pdf\mypdf.pdf")
Dim textAbsorber As New TextAbsorber()
pdfDocument.Pages.Accept(textAbsorber)
Dim extractedText As String = textAbsorber.Text
MsgBox(extractedText)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim license As Aspose.Pdf.License = New Aspose.Pdf.License
license.SetLicense("Aspose.Pdf.lic")
End Sub