VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A spell-checking code completely written in VB6! You need to create a .txt file that will act as di

H W Samuel  (4 Submissions)   Miscellaneous   VB 6.0   Unknown Difficulty   Mon 18th October 2004   Mon 8th February 2021

A spell-checking code completely written in VB6! You need to create a .txt file that will act as dictionary.Code alerts of misspelt words!

API Declarations



'Programmed by H W Samuel
'[email protected]

'This code was developed based on a VB spell-checing code by
'William Quincy
'[email protected]

'Program Algorithm (real-time processing)
'1.Break sentence into separate words
'2.Compare words in sentence with words in dictionary
'3.Words not matched are assumed to be mis-spelt

'You can freely use this source code in your own applications by just
'mentioning my details as shown above

'This spelling-checking code uses an over-simplistic text file/ dictionary
'that anyone with NotePad can create. Ot won't work without you
'creating and calling one. Each word comes on a separate line in a text
'file. The code will then identify/alert mis-spelt words based on your text file

'To create a sample dictionary, just type some words (each on a
'separate line) in NotePad or any word processor and save as .txt file

'Sample dictionary entries
'ace
'ada
'after
'again
'ajar

'Call the Scan_Words procedure from an activation point
'e.g. Form_Load, CommandButton1_Click, and specify the path of the
'text file as argument along with the name of a valid text box
'At run time, experiment with some words to see whether words not in
'your dictionary are picked out

'Sample calling routine
'Scan_Words Text1, "C:\MyDict.txt"


Rate A spell-checking code completely written in VB6! You need to create a .txt file that will act as di (2(2 Vote))
A spell-checking code completely written in VB6! You need to create a .txt file that will act as di.bas

A spell-checking code completely written in VB6! You need to create a .txt file that will act as di Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters