views:

39

answers:

1

Hi,

I am creating a Search functionality program, which searches a file mentioned by the user on a folder present in a Network folder through File Scripting Object. The code works fine but the problem is that, when it searches the file on the Network folder the entire HTML page gets hanged and nothing is displayed till the code has finished searching.

I want to update the user with the status of the search process as which folder is it currently searching just the way we have it in the Windows Serach functionality, where the progress is shown on the left side of the window and the files found is shown on the right.

I have tried the solution with having two different frames where the first frame will have the HTML and the JavaScript code to search the file and it will also write the results in notepad file as soon as it gets a matching file name and then proceeds ahead. The other Frame will read that notepad file and display the data and it will also refresh itself in every 2 seconds. But the page still hangs up since the first frame is not responding. I have tried the same solution by having two separate HTML pages instead of two frames but no luck. The new HTML page and the previous page both hangs up.

Any Ideas??

A: 

Its me again.... Help me with this please..

Prashant