473,320 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 2171
> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dickson.matt | last post by:
OK, I have created a user control that contains a dropdown for office locations. Here is the code.... Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
1
by: Devonish | last post by:
I am developing a database using Windows 2000/Office 2000 which then runs on a client's system which uses Windows XP/Office XP In a form I have an ActiveX Calendar control which works well. When...
1
by: Orjan | last post by:
Does anybody have a suggestion of a software or component to use if you want to display JPEG or TIFF images in a control within Access? I know that Office can do this but my customer don't want to...
16
by: David W. Fenton | last post by:
I have an app for a client (Access97, all the final service releases and Jet service packs, full installation (not runtime)), that displays a graphic in an image control based on a path/filename...
1
by: Nothing | last post by:
I am trying to create an field on a form which is link to a table to store pictures. I have the field defined as follows: Name: Photofield1 Type: OLE Object I have created a form with this...
2
by: Jon Henry | last post by:
Hi, I have a question regarding using the MSChart control in Visual C# Standard 2003. I understand that you can add it to the Toolbox and use it like any other control-- the problem I'm having...
0
by: Don | last post by:
I've noticed some odd behaviour with the .NET calendar control. When a user has Office XP installed on their machine, the calendar is significantly narrower that if the user does not have Office...
7
by: Hans Merkl | last post by:
Hi, Can anybody recommend a combo box control (textfield + dropdown list) for ASP.NET? I have looked at some products and it seems they all have some problems. I haven't yet found a combo box...
0
by: fiona | last post by:
Divelements release fully featured Office 2007 style Ribbon control Major component suite designed to mimic the advanced user interface features of Microsoft Office 2007 Dorset, United Kingdom -...
1
by: swaykid | last post by:
Hi, I have a webbrowser control embedded in a winform (vs2005) and use it for previewing documents. The form works perfectly in XP with office 2003 When using the same form in Vista with...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.