Re: WebBrowser: Selecting multiple text
From: Faraz Azhar (itz_farazSTOPSPAM_at_hotSPAMmail.com)
Date: 01/04/05
- Previous message: Steven Burn: "Re: WebUpdate"
- In reply to: Faraz Azhar: "WebBrowser: Selecting multiple text"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 4 Jan 2005 16:31:05 +0500
thanks but no thanks... but i found the perfect solution!
"Faraz Azhar" <itz_farazSTOPSPAM@hotSPAMmail.com> wrote in message
news:eZKe9Mv7EHA.1396@tk2msftngp13.phx.gbl...
> Hello,
>
> I dont know exactly which newsgroup to post this into. Please suggest the
> newsgroup if this is wrong.
>
> Im trying to create a search engine in vb6. The user is supposed to enter
a
> text and my app searches (some specified folders) for all the HTML
documents
> in it and then removes the html tags from it (using Regular Expressions)
and
> then searches the remaining data for the text. If it finds it, it adds the
> document name in a listview control.
>
> Now the thing on which I need your assistance is that when the user clicks
> the listview control and the webbrowser control displays that html (in
which
> the searched text was found), I want the webbrowser to highlight it even
if
> the text occurs at multiple places. This may seem impossible but I think
its
> very much possible because MSDN Library also does this thing. If you
search
> for something and view the results, the searched text is highlighted at
all
> places.
>
> Surely WebBrowser control doesnt have this ability. I was thinking of
> modifying the html document (just before it is about to be opened by the
> WebBrowser control) and add scripts/xml/ or whatever. I think XML has got
a
> lot of tricks up it's sleeve. How to write the XML/HTML/plain script so I
> can highlight multiple text inside the document? Or is there any other way
> around? PS. I dont want to use <DIV> in the documents, that would require
a
> lot of changes in the html docs and may also change their appearances.
>
> - Faraz Azhar
>
>
>
- Previous message: Steven Burn: "Re: WebUpdate"
- In reply to: Faraz Azhar: "WebBrowser: Selecting multiple text"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|