471,357 Members | 1,090 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,357 software developers and data experts.

Ole .Net Control in Office

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
ra****@heulab.com
Jul 21 '05 #1
2 2051
> host a .net user control in word, excel or powerpoint
No:
http://support.microsoft.com/kb/311334/en-us

--
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/
Jul 21 '05 #2
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

"Thomas Scheidegger [MVP]" wrote:
> host a .net user control in word, excel or powerpoint

No:
http://support.microsoft.com/kb/311334/en-us

--
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by dickson.matt | last post: by
1 post views Thread by Devonish | last post: by
16 posts views Thread by David W. Fenton | last post: by
2 posts views Thread by Jon Henry | last post: by
reply views Thread by Don | last post: by
7 posts views Thread by Hans Merkl | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.