English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I just want a search window that pulls up files.Not web based at all, though a browser based window is fine. I need to be able to pull up a specific file which is named by work order number.

2007-09-21 06:23:31 · 3 answers · asked by Joseph G 2 in Computers & Internet Programming & Design

I have all the files in a network older / subfolders. I need to just have a browser page with a search box that anyone has access to. When they type in the the work order number, a link to the file should pop up. Any scripting language is fine but if you know something that is easier then i want to know about it. I need the cheapest simplest way to do this. thanks.

2007-09-21 06:38:44 · update #1

3 answers

are you searching sub folders within a main folder on your local machine, a server, multiple machines or what exactly ?

Using the fso ( file system object ) or wmi (windows management instrumentation ) or windows API ( application programmers interface )

One of those options would do it, but as per my above question it depends on where you are going to be searching as to what will be the best method ie the fastest.

If you are just going to be using scripting then API will be out of the window unless you create your own ocx control or something of the like.

Other then that just post back with more info and I will be able to help you more ( unless someone else helps you of course )

Remember , google is your friend :)

One last thing, what language are you wanting or needing to do this in ?


===============

you can create a hta ( html application ) and use a scripting language like vbcript or javascript or even php or asp ( asp classic or asp dot net ). If you use php or ASP ( active server pages ) then you will obviously need to setup and configure your server as a webserver that either supports ASP or php.

contact me via email as I do not see any other way to add details to this question.

2007-09-21 06:30:11 · answer #1 · answered by gecko_au2003 5 · 0 0

Using the built-in search function on your computer will be much easier than writing your own search engine.

Just make sure to set the search to look into all file types.

2007-09-21 13:47:04 · answer #2 · answered by jcurrieii 7 · 0 0

If you know how to setup Apache and PHP, you can try this:

$dir = opendir("files");
$count = 0;
while($file = readdir($dir)) {
if ($file != "." AND $file != "..") {
$count = $count + 1;
echo "Found file: $file";
if ($count > 3) {
echo "
";
$count = 0;
}
}
}
closedir($dir);

2007-09-21 13:27:53 · answer #3 · answered by Jaxbot 3 · 0 0

fedest.com, questions and answers