Ok so I want to create a quick way to search for strings of text inside Word documents as well as in the name of the Word Doc. My first thought is to make a program that can create a database of all the text within the Word Doc’s. The database would have Filename, current path, an opening path ( to use when I want to open the actual word doc, will be different than the path of the current word doc ) and then a field with the entire text from within the word doc.
So here is what I did so far:
I open the word doc in a RichTextBox. Then make a string out of the [url removed, login to view] then I strip all characters I don’t need by creating a list of allowed characters and put the result into another RichTextBox.
Then I have a FileListBox with all the word docs.
So I was going to do a “For Each” FileListBox Item parse the text and add that text to the database. This was just to create a quickly searchable index database. There was going to be different folder paths as well for different types of documents.
Then I was going to create a completely different program that would use the database to do quick search’s for strings where I could choose the doc type by folder, search filenames or inside files (which would be now the parsed text in the database), and exact match/match all words options.
First problem I ran across. Some of the Word Doc’s have images and I have problems parsing these doc’s, or it just takes too long.
I think there may even be a better way to do this. Please see my attachment for a better idea of what’s going on.
So what I need from you is to complete this project or if you have a better idea of how to do it please bid. Must be done in VB6 and source code is required.
15 freelancere byder i gennemsnit $63 for dette job
I couldn't understand the difference between 'OpenPath' and 'CurrentPath'. I am sending you a sample. I hope you would review my sample and send me feedback.