In Progress

VB find a string in a file utility

I would like a simple vb5/vb6/vba/ program with source code that I can run against a selectable folder containing lots of email ”.eml” files. This will help me to understand our anti-spam system.

The program will scan all the “.eml” files in the folder and match the content of each files against my lists of key words and phrases. When a match is found the program will create a Rich Text File (or PDF file or similar) report with the same file name but with a different extension such as an “.rtf” file or “.pdf” file.

The report file would contain the contents of the email file (without the need for any email attachments) but would highlight the matched word or phrase in a color that will indicate from which list of words a match was found.

For example: If the word “cheese” came from word list 5, and the word is found in the file “[url removed, login to view]” then a report file “[url removed, login to view]” would be created containing all the content of “[url removed, login to view]” but the word “cheese” would be in red when the report file is viewed.

Finally the program would list all the words from the lists and how many “.eml” files the word was matched against during the process. This could be a “.csv” file. Note: This is not a count of the times the word was matched in any “.eml” file, but the number of “.eml” files that included the word or phrase.


- There will be about 400 words or phrases to read in from about 8 lists of words and phrases. These will be compared to about 1000 email files at a time.

- I want it written in visual basic so I can modify the utility further so I also need some remarks in the code to help me understand the process.

- The utility is for my personal use and will need to work but does not need to be written to a commercial standard with validation etc.

- This is not intended as a new anti-spam program but a just utility to help me understand why the emails we receive are rejected as spam or passed as clean as it is not always obvious and I need to improve the accuracy.

- I am always open to ideas how to improve or simplify the process. Feel free to make suggestions.

Any questions, please ask. I always reply. Thanks, Alex.

Skills: Visual Basic

See more: string find, string contain, find string file visual basic, find string text file visual basic, vb6 find string file, find file, vb note, vb net find file in folder, vb6 test questions, validation utility, to string, text to string, string the, string standard, string match, string i, string find c, standard string, need to find a word, match string, how to use vb net, how to use in, how to string, how is a report written, find a program

About the Employer:
( 3 reviews ) Watford, United Kingdom

Project ID: #4951861

Awarded to:


I recommend vb6 since is easy for maintenance.

£77 GBP in 3 days
(14 Reviews)

32 freelancers are bidding on average £142 for this job


Good day! Please check my PM. Thank you.

£166 GBP in 5 days
(99 Reviews)

Please check your PMB

£400 GBP in 4 days
(19 Reviews)

Interesting project.I'm glad to help you and I'm ready to [url removed, login to view] samples for testing,please.

£100 GBP in 3 days
(32 Reviews)

Hi Alex. Being highly proficient in VB, I am very keen to start up on this project. There may be a few improvements, once I know the purpose of the whole project. I always come up with new ideas and techniques in almos More

£200 GBP in 3 days
(7 Reviews)

Hi This is Piyush Patel I have 8 yrs of Exp in VBA,VB6,,SQL and MsAccess. I have developed many applications in VB6,VBA,VB.NET. Please Check My PM

£111 GBP in 7 days
(10 Reviews)

Hello, I can create a program for you where it will read the *.emp files, match based on the phrase that is given and generate the *.rtf file as requested. Will also provide the match count in a *.csv file. Plea More

£83 GBP in 5 days
(2 Reviews)

Dear Alex, I went through your specifications. Clear and straight project. I can design it using either VB6 or VB.Net (VS2010), whichever is suitable for you. For the database needed (to store the lists of words) a sma More

£77 GBP in 5 days
(7 Reviews)

Hello Alex, I'm pleased to offer my services on this application. I would use VB6 and the output file format would be RTF/CSV as requested for the email highlighting and reporting. I'm very particular about the job More

£147 GBP in 7 days
(2 Reviews)

I'm an expert VB developer and can do the job for you. Pls. send a sample .eml file so that I can see the format of the file. If I can do the job, I will confirm with you. After selection I will complete the jo More

£120 GBP in 3 days
(3 Reviews)

10+ years of experience in software development

£100 GBP in 3 days
(3 Reviews)

Sir, Allow me to do the Honor, please see the PMB. Regards iScripter

£70 GBP in 3 days
(10 Reviews)

Good day. This project is very interesting for me and look slike all clear there. I propose to develop Excel VBA application for your task. It will be very easy to modify the application if needed. Please send a sample More

£160 GBP in 6 days
(1 Review)

Hey Alex, i went through your description.. i can create an utility that creates RTFs out of the EMLs(which has the content)... please reply. thanks

£96 GBP in 3 days
(9 Reviews)

I can do it

£110 GBP in 3 days
(7 Reviews)

considere it done

£120 GBP in 3 days
(3 Reviews)

I can do the work for you.

£111 GBP in 3 days
(3 Reviews)

Contact me for an efficient solution.

£103 GBP in 2 days
(6 Reviews)

i can do it .............. i have 6 + year of exp..............

£80 GBP in 8 days
(2 Reviews)

Hy there. I have experience in VB programming.I can help you with your project.

£150 GBP in 3 days
(1 Review)

Hi, over 10 years of experience with and delivering Windows applications that are required to operate high-volume activities efficiently, this is exactly the sort of thing I do all the time. I've dealt with mult More

£172 GBP in 5 days
(0 Reviews)