Click here to Skip to main content
15,910,785 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VBScript Pseudo-Reflection(?) Pin
Dave Kreskowiak22-Apr-04 23:44
mveDave Kreskowiak22-Apr-04 23:44 
GeneralRe: VBScript Pseudo-Reflection(?) Pin
MStanbrook26-Apr-04 5:20
MStanbrook26-Apr-04 5:20 
GeneralRe: VBScript Pseudo-Reflection(?) Pin
daluu21-Jan-11 21:09
daluu21-Jan-11 21:09 
Generalstring search in VB.NET Pin
pnpfriend22-Apr-04 8:14
pnpfriend22-Apr-04 8:14 
GeneralRe: string search in VB.NET Pin
Charlie Williams22-Apr-04 8:43
Charlie Williams22-Apr-04 8:43 
GeneralProblem saving Bitmap as Tiff Pin
rye0422-Apr-04 8:02
rye0422-Apr-04 8:02 
Generalline chart - convert from c# to vb.net Pin
bsh1722-Apr-04 7:46
bsh1722-Apr-04 7:46 
GeneralComparing "Similar" Strings Pin
Todd Davis22-Apr-04 4:31
Todd Davis22-Apr-04 4:31 
I know this is a toughie, but I figured I'd ask...

I am writing an internal application for my company. We have thousands of Articles on our web server in HTML (actually ASP) format. These articles are technical in nature, and support the various software programs we write. This tool is meant to scan the text of those articles, and convert the information into a new format that we'll be storing in a database.

Part of that conversion process will include identifying the product and version that each article is associated with. This is really easy when the product name is spelled correctly and formatted the same as what I'd expect it to be. Unfortunately, people make mistakes (lots and lots of mistakes) and what I expect is rarely what is there. For a silly example, let's say that I'm scanning the text for the word "Microsoft" to see if this article is associated with a Microsoft product. Easy enough, right?

But as I start looking at articles, I see:
Micro Soft
Microssoft
Microsoff
MS
Microsucks
MSoft
..
..

Well, you get the idea. Doing a simple InStr(Article, "Microsoft") doesn't always find what I want. What I need is a more "fuzzy" compare method. Microsoft SQL Server has a function called LIKE that is kind of close to this - better yet, I can use the FreeText or Contains methods to provide a fuzzy search.

Is there a similar function or technique in VB that would allow me to do a compare like this?

-Todd Davis (toddhd@hotmail.com)
GeneralRe: Comparing "Similar" Strings Pin
Dave Kreskowiak22-Apr-04 7:09
mveDave Kreskowiak22-Apr-04 7:09 
GeneralRe: Comparing "Similar" Strings Pin
PaleyX22-Apr-04 9:45
PaleyX22-Apr-04 9:45 
GeneralRe: Comparing "Similar" Strings Pin
RichardGrimmer26-Apr-04 4:08
RichardGrimmer26-Apr-04 4:08 
GeneralHiding menu Pin
tuningd22-Apr-04 4:29
tuningd22-Apr-04 4:29 
Generalcontrol box on form Pin
leezardd22-Apr-04 3:13
leezardd22-Apr-04 3:13 
GeneralRe: control box on form Pin
Ritesh Sompura22-Apr-04 4:33
Ritesh Sompura22-Apr-04 4:33 
GeneralWhy no error - Dim inside a loop Pin
wmccd22-Apr-04 2:58
wmccd22-Apr-04 2:58 
GeneralRe: Why no error - Dim inside a loop Pin
Ritesh Sompura22-Apr-04 4:40
Ritesh Sompura22-Apr-04 4:40 
GeneralRe: Why no error - Dim inside a loop Pin
Dave Kreskowiak22-Apr-04 7:14
mveDave Kreskowiak22-Apr-04 7:14 
GeneralApplying Style sheet(CSS) in Crystal report .net Pin
srieen22-Apr-04 1:42
srieen22-Apr-04 1:42 
GeneralStructures in VisualBasic. Pin
amardude22-Apr-04 0:45
amardude22-Apr-04 0:45 
GeneralRe: Structures in VisualBasic. Pin
Dave Kreskowiak22-Apr-04 7:23
mveDave Kreskowiak22-Apr-04 7:23 
GeneralRe: Structures in VisualBasic. Pin
amardude23-Apr-04 20:00
amardude23-Apr-04 20:00 
GeneralRe: Structures in VisualBasic. Pin
Dave Kreskowiak24-Apr-04 2:25
mveDave Kreskowiak24-Apr-04 2:25 
QuestionRetrieving a DataRow from a DataGrid??? Pin
Greg Eales21-Apr-04 23:32
Greg Eales21-Apr-04 23:32 
AnswerRe: Retrieving a DataRow from a DataGrid??? Pin
Ritesh Sompura22-Apr-04 4:46
Ritesh Sompura22-Apr-04 4:46 
Generalclient side error validation Pin
kieran540521-Apr-04 22:57
kieran540521-Apr-04 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.