Using OLE

  • Thread starter Thread starter **Developer**
  • Start date Start date
D

**Developer**

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
 
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.
 
That is very helpful info. By myself I probably would have spent much time
before I realized what you told me.

I'm glad I asked.

Thanks
 
Back
Top