Ole .Net Control in Office

G

Guest

Hi guys,

Is it possible to host a .net user control in word, excel or powerpoint just
as we would an ole control. We have a simple drawing .net user control, with
simple menu etc. We'd like to call up from word the various plug-in controls
and click and drag an area in word which will host our control. When we save
the word document, the control's data will be saved and when we re-open the
word document, the user control is init and the data is still present. This
is not like the Add-in that Visual Studio provides, but is more like creating
an active-x control.

Is there a way to do this in Visual Studio .NET 2003 or Whibdey. I do not
mind coding in c++ which will host the .net dll or something, but just want
to accomplish this task. Maybe its has something to do with com interop but
am getting nowhere. For a surprising fact, all word, excel, powerpoint are
ole objects.

Would appreciate all the help i can get.

Thanks,
Rakesh Kumar Gupta
(e-mail address removed)
 
G

Guest

Well how about a .NET control, we create an interop library so that we can
open it in VB6 and then create an OLE Control in VB6.

Microsoft folks - would this work ? or any better way ?

Rakesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top