|
|
Targeted
|
June 07, 2003Manipulating Word and Its SpellChecker pt. 1In an effort to reuse the Spellchecker of MS Word, I have learned how to get it to check the spelling of a word or words. I have even learned how to get it to generate suggestions. I have, however been unable to convince it to reload the custom dictionaries after I have added a word to one of them. This is very frustrating because it makes me unable to have an effective form that works like the spell-checking dialog box in Word. Having spent more time on this issue than I would like I decided why recreate something like the Word spell checker when it is just as available directly. Thus I thought I had solved my problem. I simply programatically paste the word or words I want to check into a blank Word Doc and then run the spell checker and then retrieve the corrections from Word for my application. Alas I have found this simple plan to have one flaw. If my application is higher than Word in the Z-order, then the spell-check dialog box is placed behind my application. So I thought, this shouldn't be hard to fix, just raise the place of Word in the z-order. Does .net have a way to do this? Enough background. What is this entry about? To manipulate a window via the API you need it handle. Thus the link: 302281 - HOWTO: Obtain the Window Handle for an Office Automation Server Using Visual Basic .NET Here is the most relevant part:
Now I just have to adapt it to Word.
Posted by
tmichael
at
10:30 AM
|
Comments (0)
Good ReferencekbAlertz! is a page that lists most (all?) of the Microsoft Knowledge Base articles, relevant to Visual Studio .Net. It can be very helpful in identifying what MS has to say about an issue.
Posted by
tmichael
at
11:30 AM
|
Comments (0)
Method to cause an application to show a dialog boxHere is how I used it:
Posted by
tmichael
at
02:18 PM
|
Comments (0)
Word's ClassnameParticle Software :: Recall Application
Posted by
tmichael
at
02:20 PM
|
Comments (0)
Manipulating Word and Its SpellChecker pt. 1Now that I have the handle for Word I need to make use of the Topmost function to raise it above the others. I found this page to be helpful: The most useful parts are:
Posted by
tmichael
at
02:33 PM
|
Comments (0)
Bringing a specific window to the top yet againI was still having problems so I found this page: From It I found this that seems to work better:
Posted by
tmichael
at
05:49 PM
|
Comments (0)
Long List of How To'sI stumbled across this list. I think it may be very helpful in the future:
Posted by
tmichael
at
06:04 PM
|
Comments (0)
June 09, 2003Version NumberI used information from Versioning an Assembly to be able to control the version numbers of my current project. Specifically:
Posted by
tmichael
at
03:29 PM
|
Comments (0)
June 21, 2003Hide Datagrid ExpandersIn the program I am developing, I wanted to show data from a table in a datagrid. This table is related to another table. As a result, this datagrid would show an expander and the name of that other table. I wanted this hidden. So I asked myself, "How do I hide the expander?" I didn't know so I searched and found the following: Microsoft Support WebCasts So there you have it set AllowNavigation to False. If you happen to find this useful, please link to this post as there is nothing that says to do this to hide them. I think this would be very helpful to others.
Posted by
tmichael
at
06:12 PM
|
Comments (1)
June 22, 2003TreeNode LevelIf you spend any time working with Treeviews, I can't imagine not needing this or having to invent it yourself: Windows Forms FAQ - Windows Forms TreeView I edited into this:
Posted by
tmichael
at
04:55 PM
|
Comments (0)
|