I have two questions but they should probably in different posts. I have nearly finished a spell checker (similar to one I did YEARS ago) that will compare all words to my dictionary, edit the file, make backup of the original and exit. It operates on ASCII files only.
The first question is: How can I spell check MS Word while it is running?
The second question is: How can I embed my VB program into MS Word's menu system?
Without a map to MS's datafile byte position and meanings, checking a .DOC file would be difficult. Does Word have a memory address where the words are stored, but I wouldn't want to fiddle with changing/editing the memory area for fear of corruption.
So where to begin? If I require the user to save as ASCII so I can spell check it, importing a checked file would loose formatting. I'd like to do it while in memory but that is a whole other can of worms. Maybe all I can do is to let the user select/highlight a group of words and make suggestions for those not found in my dictionary rather than trying to spell check the entire document.
Ideas/suggestions anyone?


