AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

search inside an Exe

Ein Thema von mohfa · begonnen am 23. Mai 2007 · letzter Beitrag vom 23. Mai 2007
Antwort Antwort
Seite 1 von 2  1 2      
mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#1

search inside an Exe

  Alt 23. Mai 2007, 10:42
Hi , i have made an HTML EXE using VirtualSite which stores all the html , htm files
so every thing goes good , but what i want is to make a search ( for a keyword ) in all these files without extract them like in html help file when you want to search for a keyword then the result will listed in listbox , and the webbrowser will automatically highlight the searched keyword

many thanks
  Mit Zitat antworten Zitat
Benutzerbild von chaosben
chaosben

Registriert seit: 27. Apr 2005
Ort: Görlitz
1.358 Beiträge
 
Delphi XE2 Professional
 
#2

Re: search inside an Exe

  Alt 23. Mai 2007, 10:49
Hi!

The question is: In which format are the pages stored inside the exe? Is ist the raw html-code? Or is it compressed?
If it isn't compressed, u can open the file as filestream or something like this and search for the text u want to find.
If it is compressed or encoded in another way you have to extract the data.
Benjamin Schwarze
If I have seen further it is by standing on the shoulders of Giants. (Isaac Newton)
  Mit Zitat antworten Zitat
mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#3

Re: search inside an Exe

  Alt 23. Mai 2007, 10:56
the files stored are stored in their original format ( Html ), no compression


thank you
  Mit Zitat antworten Zitat
Robert Marquardt
(Gast)

n/a Beiträge
 
#4

Re: search inside an Exe

  Alt 23. Mai 2007, 11:04
What an idiot thing is this? Converting the HTML to .chm would be good enough. Why adding an EXE which only calls IE? .chm does that already.
  Mit Zitat antworten Zitat
QuickAndDirty

Registriert seit: 13. Jan 2004
Ort: Hamm(Westf)
1.889 Beiträge
 
Delphi 12 Athens
 
#5

Re: search inside an Exe

  Alt 23. Mai 2007, 11:18
Unlike you see on MTV, educated english men avoid the use of improper words like idiot.
If its bad, then say it is not good.
Andreas
Monads? Wtf are Monads?
  Mit Zitat antworten Zitat
mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#6

Re: search inside an Exe

  Alt 23. Mai 2007, 11:43
Zitat von Robert Marquardt:
What an idiot thing is this? Converting the HTML to .chm would be good enough. Why adding an EXE which only calls IE? .chm does that already.
OH my GOD thank you Robert Marquardt for this word : idiot

is this all what you can say ....
  Mit Zitat antworten Zitat
Robert Marquardt
(Gast)

n/a Beiträge
 
#7

Re: search inside an Exe

  Alt 23. Mai 2007, 11:49
I call an idiot an idiot. I have a proper place for political correctness (i usually sit on it).
BTW i am referencing VirtualSite not mohfa.
  Mit Zitat antworten Zitat
Benutzerbild von chaosben
chaosben

Registriert seit: 27. Apr 2005
Ort: Görlitz
1.358 Beiträge
 
Delphi XE2 Professional
 
#8

Re: search inside an Exe

  Alt 23. Mai 2007, 12:11
Zitat von mohfa:
the files stored are stored in their original format ( Html ), no compression
Are you sure? Just test it: Open the exe with a hex editor an look for some html code. If you find some, u can be lucky.
Benjamin Schwarze
If I have seen further it is by standing on the shoulders of Giants. (Isaac Newton)
  Mit Zitat antworten Zitat
mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#9

Re: search inside an Exe

  Alt 23. Mai 2007, 12:30
chaosben , you are correct there is no html code

so chaosben any suggestions
  Mit Zitat antworten Zitat
Benutzerbild von chaosben
chaosben

Registriert seit: 27. Apr 2005
Ort: Görlitz
1.358 Beiträge
 
Delphi XE2 Professional
 
#10

Re: search inside an Exe

  Alt 23. Mai 2007, 12:32
Zitat von mohfa:
so chaosben any suggestions
Zitat von chaosben:
If it is compressed or encoded in another way you have to extract the data.
Benjamin Schwarze
If I have seen further it is by standing on the shoulders of Giants. (Isaac Newton)
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:52 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz