473,657 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MS Office and .NET framework

Helllo,

is there a version of Microsoft Office, where you can link .NET Dll's (
assemblies ) with it, instead of COM Dll's? If not, does anybody know when
there will be?

Thank you for any info,

Me.
Jul 21 '05 #1
4 1614
There is no version of Office at present that exposes a .Net interface to
its object model, but Microsoft has primary interop assemblies available for
calling Office objects via COM from .Net. But unfortunately it has to go
thru the COM Interop and the marshalling can be painfully slow if you are
transferring large amounts of data.

In our project we have basically implemented an Excel XLA addin to help make
the communication with .Net "chunky" rather than "chatty" so that the
performance hit is kept to a minimum. There are numerous articles on
designing of "chunky" vs "chatty" interfaces to help with the COM interop
issues on MSDN.

If I had to guess, I would say that a version of office that is pure .Net is
still a good distance away, but I'm really really hoping that Microsoft
releases an interface that does a much more efficient job marshalling the
data.
"Elephant" <el******@micro soft.com> wrote in message
news:TJ******** ************@ca sema.nl...
Helllo,

is there a version of Microsoft Office, where you can link .NET Dll's (
assemblies ) with it, instead of COM Dll's? If not, does anybody know when
there will be?

Thank you for any info,

Me.

Jul 21 '05 #2
Bryan wrote:
There is no version of Office at present that exposes a .Net interface to
its object model,


??

What's the score with Office 2003? What is the "official" way to program
it, surely it can't be VBA??

--
Gerry Hickman (London UK)
Jul 21 '05 #3

"Gerry Hickman" <ge********@yah oo.co.uk> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Bryan wrote:
There is no version of Office at present that exposes a .Net interface to
its object model,
??

What's the score with Office 2003? What is the "official" way to program
it, surely it can't be VBA??


You can code it with VBA, or thru external automation - but all the
interfaces are still COM. The only way to code it thru .Net is to use the
interop.

Bryan

--
Gerry Hickman (London UK)

Jul 21 '05 #4
Bryan wrote:
What's the score with Office 2003? What is the "official" way to program
it, surely it can't be VBA??


You can code it with VBA, or thru external automation - but all the
interfaces are still COM. The only way to code it thru .Net is to use the
interop.


Doesn't exactly inspire confidence if Microsoft's flagship product does
not directly support .NET

Was there not something called VSA that was going to enable office apps
to work direct with .NET?

--
Gerry Hickman (London UK)
Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1512
by: Jason | last post by:
Hi, I have managed to automate the inclusion of the framework and SP into my installs but have hit a brick wall on being able to switch on the Programmabilty support for office applications without simply launching the Office setup and requesting the user make the changes manually. Is there any way that I can seemlessly enable the .net Programability with code? The company have included Office 2003 in our standard load but did not...
3
2186
by: | last post by:
Hi! How to extand and access the internat Office object structure. Is there any Dev Kit for Microsoft Partners that in not available to "normal" users? Something like NOKIA back entrence!? gicio
4
4066
by: J-T | last post by:
I'm trying to read an excell file in my .Net application using Office XP Primary Interop Assemblies (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_oxppias.asp). I have installed Office 2003 on my developemnt box.Will my application be able to read all kinds of Excell file (97-2000-2003)? Dose the wrapper that .Net framework generates backward copatiable? Do I have to have the same version of Office...
0
1482
by: Howard Kaikow | last post by:
I have a multiboot system. On one of the systems, I have Office 2002, VS .NET Pro 2002 and the Office 2002 PIA with .NET Framework 1.0. On another system, I have Office 2003, VS .NET Pro 2003 and the Office 2003 PIA with .NET Framework 1.1, as well as VSTO. Are there known problems using VS .NET Pro 2003 with Office 2002 and the Office 2002 PIA? Does it mater whether .NET Framwork 1.0 or 1.1 is used with Office 2002 and
3
306
by: Jason | last post by:
Hi, I have managed to automate the inclusion of the framework and SP into my installs but have hit a brick wall on being able to switch on the Programmabilty support for office applications without simply launching the Office setup and requesting the user make the changes manually. Is there any way that I can seemlessly enable the .net Programability with code? The company have included Office 2003 in our standard load but did not...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8516
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.