tri_inn Level: Regular User Registered: 26-08-2002 Posts: 395
|
how to write a program that can grab the text from MS-Word
I want to know how to write a spy program that can grab a text from ms-word. Let me give you an example
What I want to do. Say suppose I have one form, in my form I have a text box and picture box control and
I want to assign a little picture to my picture box control. Whenever I click on picture of picture box and start dragging then my picture will be invisible and whenever I release the mouse button on ms-word document already opened in ms-word say suppose a little paragraph then I want the whole paragraph will be copied and paste automatically in my text box.
I have already design a spy program that have capability to grab the text from notepad, WordPad but my spy program does not have the capability to grab the text from ms-word, that why I want to know how can I write a spy program in such a way that can grab the text from ms-word document. If possible please provide easy and small ready-made sample.
|