In part of my program, i have to insert Equation.DSMT4 into the richtextbox control.

I found that there is no methods in richtextbox to insert ole objects.

If anybody knows, pls help me to get solution for this problem

In this howto from Microsoft there is a way to insert an OLE object into a rich text using VB.

Maybe this helps

Sorry.
On .Net is used the Paste from clipboard (a little dirty solution) and the example only uses de text format.

Here a CODEPROJECT example project about this.

Hope this helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.