472,805 Members | 1,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 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 2139
> 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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
How does React native implement an English player?

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.