I am opening mathtype.exe from richtextbox and type some mathtype equation editor after closing mathtype editor the data which i type must be displayed in richtextbox.
I am tried this using sendkeys.send but it seems to be not working properly.
Suppose mathtype equation in richtextbox you can open it by double click on them and you can edit then this changes will be saved in richtextbox, but first time it will not save the containt in richtextbox.
Thanks in advance.

Just guessing if the richtextbox is empty the very first time.

If is empty, just add an space and select it before enabling the equation editor.

Hope this helps

Just guessing if the richtextbox is empty the very first time you load your .app.

If is empty, just add an space to the rtb(RichTextBox) and select it before enabling the equation editor.

Hope this helps

Hope this helps as well.:)

Edited 5 Years Ago by codeorder: n/a

Suppose mathtype equation in richtextbox you can open it by double click on them and you can edit then this changes will be saved in richtextbox, but first time it will not save the containt in richtextbox.

Before presenting the rich text box to the user, set the Text property to a space.
Then use the Select all to make this space as selected.
At this point, the contents of the rich text box is not empty and can be replaced by the equation editor.

Hope this helps

This article has been dead for over six months. Start a new discussion instead.