Click here to Skip to main content
15,895,606 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWMI Pin
am.net19-Jan-09 18:42
am.net19-Jan-09 18:42 
AnswerRe: WMI Pin
Abhijit Jana19-Jan-09 19:00
professionalAbhijit Jana19-Jan-09 19:00 
QuestionHow to send Email using Javascript/html? Pin
Member 472018419-Jan-09 18:30
Member 472018419-Jan-09 18:30 
AnswerRe: How to send Email using Javascript/html? Pin
Abhishek Sur19-Jan-09 20:20
professionalAbhishek Sur19-Jan-09 20:20 
GeneralRe: How to send Email using Javascript/html? Pin
Abhijit Jana19-Jan-09 20:35
professionalAbhijit Jana19-Jan-09 20:35 
GeneralRe: How to send Email using Javascript/html? Pin
Sathesh Sakthivel19-Jan-09 20:41
Sathesh Sakthivel19-Jan-09 20:41 
QuestionProblem in reading pdf file? Pin
avika19-Jan-09 18:08
avika19-Jan-09 18:08 
AnswerRe: Problem in reading pdf file? Pin
Aman Bhullar19-Jan-09 18:17
Aman Bhullar19-Jan-09 18:17 
Well I figured out a way to do it, but it requires that you have the full version of Adobe installed on your PC so that you can gain access to the Adobe APIs (which doesn't technically qualify as a free way to do it). Here is the code I used to read the contents of a PDF. You will have to add a reference to the Adobe APIs in your project:

Dim objPDFPage As AcroPDPage

Dim objPDFDoc As New AcroPDDoc
Dim objPDFAVDoc As AcroAVDoc
Dim objAcroApp As AcroApp
Dim objPDFRectTemp As Object
Dim objPDFRect As New AcroRect
Dim lngTextRangeCount As Long
Dim objPDFTextSelection As AcroPDTextSelect
Dim temptextcount As Long
Dim strText As String

Dim lngPageCount As Long
Dim Fora As Long

objPDFDoc.Open(tbdocdisplaypath.Text)
lngPageCount = objPDFDoc.GetNumPages

For Fora = 0 To lngPageCount - 1

objPDFPage = objPDFDoc.AcquirePage(Fora)
objPDFRectTemp = objPDFPage.GetSize
objPDFRect.Left = 0
objPDFRect.right = objPDFRectTemp.x
objPDFRect.Top = objPDFRectTemp.y
objPDFRect.bottom = 0

' objPDFTextSelection = objPDFDoc.CreateTextSelect(lngPageCount, objPDFRect)
objPDFTextSelection = objPDFDoc.CreateTextSelect(Fora, objPDFRect)

' Get The Text Of The Range

temptextcount = objPDFTextSelection.GetNumText
For lngTextRangeCount = 1 To objPDFTextSelection.GetNumText
doctext = doctext & objPDFTextSelection.GetText(lngTextRangeCount - 1)
Next

doctext = doctext & vbCrLf

Next

doctype = "PDF"

objPDFDoc.Close()

---------------------------------------------
Alernatively, you can browse these links and try helping yourself
http://www.componentsource.com/relevance/pdf/components/index.html?q=pdf+visual
http://groups.google.com/group/microsoft.public.dotnet.languages.vb.data/browse_thread/thread/99a3fbc1608f396e/236c45f7cf2713b5%23236c45f7cf2713b5
QuestionFile security in ASP .Net Pin
CrazyCoder2619-Jan-09 17:49
CrazyCoder2619-Jan-09 17:49 
AnswerRe: File security in ASP .Net Pin
Aman Bhullar19-Jan-09 18:19
Aman Bhullar19-Jan-09 18:19 
QuestionProblem Regarding Module Popup Extender Pin
ais0719-Jan-09 17:37
ais0719-Jan-09 17:37 
AnswerRe: Problem Regarding Module Popup Extender Pin
Abhishek Sur19-Jan-09 20:52
professionalAbhishek Sur19-Jan-09 20:52 
Questionwhere's "Application Center Test" for VS2008? Pin
devvvy19-Jan-09 15:25
devvvy19-Jan-09 15:25 
AnswerRe: where's "Application Center Test" for VS2008? Pin
Not Active19-Jan-09 15:35
mentorNot Active19-Jan-09 15:35 
GeneralRe: where's "Application Center Test" for VS2008? Pin
devvvy19-Jan-09 15:40
devvvy19-Jan-09 15:40 
QuestionCompilation into a DLL Pin
Bulky Fellow19-Jan-09 9:02
Bulky Fellow19-Jan-09 9:02 
AnswerRe: Compilation into a DLL Pin
Reza Raad19-Jan-09 9:18
Reza Raad19-Jan-09 9:18 
GeneralRe: Compilation into a DLL Pin
Bulky Fellow19-Jan-09 9:32
Bulky Fellow19-Jan-09 9:32 
GeneralRe: Compilation into a DLL Pin
Reza Raad19-Jan-09 10:08
Reza Raad19-Jan-09 10:08 
QuestionEvent for a class Pin
mehrdadc4819-Jan-09 8:35
mehrdadc4819-Jan-09 8:35 
AnswerRe: Event for a class Pin
TylerBrinks19-Jan-09 13:00
TylerBrinks19-Jan-09 13:00 
AnswerRe: Event for a class Pin
Abhishek Sur19-Jan-09 20:44
professionalAbhishek Sur19-Jan-09 20:44 
Question[newbie] calendar control Pin
jon-8019-Jan-09 7:50
professionaljon-8019-Jan-09 7:50 
AnswerRe: [newbie] calendar control Pin
ToddHileHoffer19-Jan-09 8:18
ToddHileHoffer19-Jan-09 8:18 
QuestionCross tab Crystal Report in Visual studio Pin
Blumen19-Jan-09 2:57
Blumen19-Jan-09 2:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.