PDA

View Full Version : search in the web



mohab1
11-06-2008, 02:33 AM
how i can search in many web pages in pc example: search " Indigo Rose" in pages
"c:\\mohab"
result

found (example)
"about" dir c:\mohab\about.html
"faQ" dir c:\mohab\faQ.html
if i click first one(about) application load web in the wep object

thank you :)

jassing
11-06-2008, 08:11 AM
how i can search in many web pages in pc example: search " Indigo Rose" in pages
"c:\\mohab"
result

found (example)
"about" dir c:\mohab\about.html
"faQ" dir c:\mohab\faQ.html
if i click first one(about) application load web in the wep object

thank you :)

You could use

File.Find() to get a list of files in the directory
TextFile.ReadToString() to read in each file
String.Find() to locate the desired string

If you find the string you could use a table to store the file names
then display just the filename part -- retrievable with String.SplitPath()

mohab1
11-06-2008, 09:18 AM
You could use

File.Find() to get a list of files in the directory
TextFile.ReadToString() to read in each file
String.Find() to locate the desired string

If you find the string you could use a table to store the file names
then display just the filename part -- retrievable with String.SplitPath()

thanks but can you gif me Example
because i am new in using this program :D

Dermot
11-06-2008, 09:25 AM
All the functions he mentioned have examples in the help file.

jassing
11-06-2008, 09:26 AM
The help file is filled with good examples on these commands.
Perhaps you could try some of these things and learn a bit along the way -- post what you tried and we can help you correct your code....

reteset
11-06-2008, 11:33 AM
here is an Example (http://www.indigorose.com/forums/showthread.php?t=20791) about it

mohab1
11-12-2008, 10:53 AM
thank you :)
i tray that it can search in english language
my html arabic language and if i open it by text editor i see numbers :D
but great simple thank you reteset :)