T
Thomas
Hi everybody!
I am stuck with a problem that should be simple, so maybe you could point me
in the right direction, maybe even with example code? That would be very much
appreciated.
I want to write a program (MyApp) that can be embedded into MS Office as an
OLE Object. So I want to be a able to do Insert->Object->MyApp, and then edit
this object within MS Office using my program. And if at all possible, I want
to do that in .NET using C# or managed C#.
The only example I could find is the infamous notepad. Unfortunately it is
written using MFC and veyr sparsely documented, so it is difficult for me to
see what is going on there. (Not much, I would guess, because most things
happen inside MFC.)
I also noticed that OLE has been renamed/relaunched/superseeded several
times, so I also searched for "automation server", "activex component" and
"winforms". But I didn't find any useful information there either. Has the
idea of in-process embedding of objects been abandoned? That would be a
shame, because I think it is a rather powerful way of creating documents.
So at this point I would be very glad for any help how to create an OLE
embeddable object. If it is not possible in .NET, I would even go the extra
mile and do it in MFC.
Yours,
Thomas
I am stuck with a problem that should be simple, so maybe you could point me
in the right direction, maybe even with example code? That would be very much
appreciated.
I want to write a program (MyApp) that can be embedded into MS Office as an
OLE Object. So I want to be a able to do Insert->Object->MyApp, and then edit
this object within MS Office using my program. And if at all possible, I want
to do that in .NET using C# or managed C#.
The only example I could find is the infamous notepad. Unfortunately it is
written using MFC and veyr sparsely documented, so it is difficult for me to
see what is going on there. (Not much, I would guess, because most things
happen inside MFC.)
I also noticed that OLE has been renamed/relaunched/superseeded several
times, so I also searched for "automation server", "activex component" and
"winforms". But I didn't find any useful information there either. Has the
idea of in-process embedding of objects been abandoned? That would be a
shame, because I think it is a rather powerful way of creating documents.
So at this point I would be very glad for any help how to create an OLE
embeddable object. If it is not possible in .NET, I would even go the extra
mile and do it in MFC.
Yours,
Thomas