I think you under-estimate what Wordpad needs to do to achieve this, and you
over-estimate the possibilities you have using C# to do exactly what you
want, that is build a OLE container capable of embedding and in-place
activation. I don't say it's impossible to do using a pure managed language
like C#, but this is definitively the domain of native C++ using the MFC
an/or ATL libraries.
Believe it or not but .NET is not the ideal tool to build sophisticated
OLE/COM applications.
Willy.
" **Developer**" <RE*************@a-znet.com> wrote in message
news:ON**************@TK2MSFTNGP15.phx.gbl...
I'm writing a simple editor using the RichTextBox.
I'd like to add OLE like WordPad has.
That is allow packages to be embedded or linked and thereby changed.
I'm reading the doc but would like to have some sample code to study.
Anyone know where there is sample code or How-To-Do-It tutorial?
I'd appreciate any leads that I can track down.
Thanks