Enclosed is a dll I was working on to find key information from emails. The parts already completed gets the ebay auction number and the country. The properties to send in is the subject and the body. From it, the dll finds the other information. The part missing is finding the zip code. 95 percent of the zip codes will be US zip codes. Before this part can run, it would have already calculated the country. If its US, then its always 5 digits. The files also included are the possible different formats. The part in between ( and ) is the information the function needs to be returned. However, it cannot go by the () when running the function. It needs to come up with it by reading the contents. They are all html pages. Must be done with Visual Basic 6.0. The part to focus on is the findzip
Everything else is fine.
A few of the samples are ones from Canada. In those cases, the function would return Canada for the country name. The zip codes are always in that format.
The completed function to find the zip code from the body of a message (that would be given).
Windows XP Home Edition, Windows 2000