Click here to Skip to main content
15,916,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: StatusStrip is not updating from a class. Pin
Luc Pattyn18-Jun-09 12:01
sitebuilderLuc Pattyn18-Jun-09 12:01 
GeneralRe: StatusStrip is not updating from a class. [modified] Pin
Musa Biralo18-Jun-09 12:17
Musa Biralo18-Jun-09 12:17 
GeneralRe: StatusStrip is not updating from a class. Pin
Luc Pattyn18-Jun-09 13:10
sitebuilderLuc Pattyn18-Jun-09 13:10 
QuestionWaiting for a process to end uses too much CPU. Pin
elajua18-Jun-09 11:50
elajua18-Jun-09 11:50 
AnswerRe: Waiting for a process to end uses too much CPU. Pin
Luc Pattyn18-Jun-09 12:05
sitebuilderLuc Pattyn18-Jun-09 12:05 
GeneralRe: Waiting for a process to end uses too much CPU. Pin
elajua18-Jun-09 14:39
elajua18-Jun-09 14:39 
GeneralRe: Waiting for a process to end uses too much CPU. Pin
Luc Pattyn18-Jun-09 14:52
sitebuilderLuc Pattyn18-Jun-09 14:52 
QuestionAny way to use constructor parameters within "dim as new"? Pin
supercat918-Jun-09 11:38
supercat918-Jun-09 11:38 
Questionwhat is the installation steps for windows application project ? Pin
ahlamissa18-Jun-09 10:23
ahlamissa18-Jun-09 10:23 
AnswerRe: what is the installation steps for windows application project ? Pin
EliottA18-Jun-09 10:53
EliottA18-Jun-09 10:53 
AnswerRe: what is the installation steps for windows application project ? Pin
Dave Kreskowiak18-Jun-09 11:28
mveDave Kreskowiak18-Jun-09 11:28 
QuestionScope (?) Problem in Excel VBA Pin
TheConfusedGuy18-Jun-09 9:29
TheConfusedGuy18-Jun-09 9:29 
AnswerRe: Scope (?) Problem in Excel VBA Pin
Dave Kreskowiak18-Jun-09 9:56
mveDave Kreskowiak18-Jun-09 9:56 
QuestionContext Menu Pin
No-e18-Jun-09 6:23
No-e18-Jun-09 6:23 
AnswerRe: Context Menu Pin
Jon_Boy18-Jun-09 6:37
Jon_Boy18-Jun-09 6:37 
GeneralRe: Context Menu Pin
No-e18-Jun-09 12:08
No-e18-Jun-09 12:08 
GeneralRe: Context Menu Pin
Jon_Boy19-Jun-09 6:09
Jon_Boy19-Jun-09 6:09 
AnswerRe: Context Menu Pin
Bahram.Zarrin27-Jun-09 5:14
Bahram.Zarrin27-Jun-09 5:14 
Questionmultipage problem in printpreview? Pin
JC.KaNNaN18-Jun-09 4:03
JC.KaNNaN18-Jun-09 4:03 
AnswerRe: multipage problem in printpreview? Pin
Luc Pattyn18-Jun-09 4:47
sitebuilderLuc Pattyn18-Jun-09 4:47 
GeneralRe: multipage problem in printpreview? Pin
JC.KaNNaN18-Jun-09 22:19
JC.KaNNaN18-Jun-09 22:19 
QuestionEtracting certain text from PDF document into a database Pin
kshincsk18-Jun-09 3:31
kshincsk18-Jun-09 3:31 
AnswerRe: Etracting certain text from PDF document into a database Pin
Dave Kreskowiak18-Jun-09 9:58
mveDave Kreskowiak18-Jun-09 9:58 
GeneralRe: Etracting certain text from PDF document into a database Pin
kshincsk19-Jun-09 0:58
kshincsk19-Jun-09 0:58 
Dear Dave,

Thanks a lot for the suggestion.

I found just the perfect piece of code.

<br />
Public Function Extract(ByVal TextIN As String, Optional StartTag As String = " ", Optional ByVal EndTag As String = " ", Optional ByVal CheckCase As Boolean) As String<br />
    On Error GoTo LocalError<br />
    ' Extracts Text from string using start and end "tags"<br />
    'NB:    If EndTag is ommitted the entire string from:<br />
    '       StartTag to EndOfString is returned...<br />
    Dim lArray As Variant<br />
    Extract = ""<br />
    lArray = Split(TextIN, StartTag)<br />
    If IsArray(lArray) Then<br />
        Extract = lArray(1)<br />
        lArray = Split(Extract, EndTag)<br />
        If IsArray(lArray) Then<br />
            Extract = lArray(0)<br />
        Else<br />
            Extract = ""<br />
        End If<br />
    End If<br />
Exit Function<br />
LocalError:<br />
    Extract = ""<br />
End Function<br />


It works beautifully. Now, All I need to do is put all the keywords into a database and do a recursive search using those fields dynamically at runtime.

Thanks a million for your help.

Best Regards,
Kumar
GeneralRe: Etracting certain text from PDF document into a database Pin
Dave Kreskowiak19-Jun-09 4:27
mveDave Kreskowiak19-Jun-09 4:27 

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.