StartLogic - Affordable Webhosting

Search File Utility With Status Dialog

Hi,

The previous example on Search Function exposes the basic capability only. It shows basic SEARCH concepts for Newbies. But I dare not use this very raw function even on my PC. More features are needed before it can be distributed.

In this example, we refine the AMS Search Function further. This time, we can decide on what to do with the search results.
- We can save the results and group them.
- We can weed out irrelevant items.
- We can resave the modified list.
- We can reload previous search results or
- We dont have to keep the results at all.

With AMS, we can develop APPs according to our own delight and satisfaction.

Improved Search Utility

Improved Search Utility

For this purpose, our Project will now create a HOST FOLDER on the desktop automatically. It will save the search results there according to groups. Each group has it’s own text file. You can change the location of the FOLDER.

Improved Search Utility

Improved Search Utility

If the search resulted in hundreds of files, the LISTING of RESULTS in the ListBox may take some time. Our users may think that the APP has HANGED ( I dont know the right word ). This is not good for business.

Improved Search Utility

Improved Search Utility


So, I’ve added STATUS DIALOG when SAVING FILES and LISTING FILES. When users see STATUS DIALOGS, they will be comfortable to know that the APP is doing something. For the FILE SEARCH, I prefer to use the File.Find built-in Callback function instead of my own FileFound function. Very efficient.

Lastly, it is your responsibility to add ERROR CHECKING for each AMS ACTIONS.

Please Login or Register to download this file.

PLEASE LEAVE A COMMENT…..

  • Share/Save/Bookmark

1 comment to Search File Utility With Status Dialog

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>