473,498 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel dependent on .Net Framework Runtime?

Hello everyone,
I am wondering whether Microsoft Excel 2003 is a native application or
dependent on any .Net Framework Runtime, like 1.1, 2.0 or 3.0?

How about Microsoft Excel 2007?
thanks in advance,
George
Aug 7 '07 #1
10 2188
Run Excel 2003 and use some software (like Process Explorer) to see loaded
modules of excel.exe (2003), I didn't find any DLL related to .NET. You can do
the same check with Excel 2007.
Aug 7 '07 #2
Thanks man,
What is "Process Explorer"? Could you provide an URL please?
regards,
George

"www.fruitfruit.com" wrote:
Run Excel 2003 and use some software (like Process Explorer) to see loaded
modules of excel.exe (2003), I didn't find any DLL related to .NET. You can do
the same check with Excel 2007.
Aug 8 '07 #3
George wrote:
Hello everyone,
I am wondering whether Microsoft Excel 2003 is a native application or
dependent on any .Net Framework Runtime, like 1.1, 2.0 or 3.0?

How about Microsoft Excel 2007?
Both Excel 2003 and Excel 2007 have the ability to load .NET assemblies
(created with VSTO - Visual Studio Tools for Office). Excel itself,
however, is a native app, and AFIAK doesn't require the .NET framework to
run.

-cd
Aug 8 '07 #4
Thanks Carl,
Could you describe in more details what means "the ability to load .NET
assemblies"? Excel loading .Net assembly by some platform interop
technologies or some other means?
regards,
George

"Carl Daniel [VC++ MVP]" wrote:
George wrote:
Hello everyone,
I am wondering whether Microsoft Excel 2003 is a native application or
dependent on any .Net Framework Runtime, like 1.1, 2.0 or 3.0?

How about Microsoft Excel 2007?

Both Excel 2003 and Excel 2007 have the ability to load .NET assemblies
(created with VSTO - Visual Studio Tools for Office). Excel itself,
however, is a native app, and AFIAK doesn't require the .NET framework to
run.

-cd
Aug 8 '07 #5
George wrote:
Thanks Carl,
Could you describe in more details what means "the ability to load
.NET assemblies"? Excel loading .Net assembly by some platform interop
technologies or some other means?
Exactly.

Excel hosts the CLR, which is simply a collection of DLLs; the CLR, in turn,
hosts managed assemblies, which are also nothing but DLLs. Those managed
DLLs interact with Excel through an Interop layer (a PIA - Primary Interop
Assembly).

-cd
Aug 8 '07 #6
In article <8E**********************************@microsoft.co m>,
=?Utf-8?B?R2Vvcmdl?= <Ge****@discussions.microsoft.comwrote:
>What is "Process Explorer"? Could you provide an URL please?
URL : http://www.google.com/ . That provides all the links you
want. It's far faster than posting and waiting for a reply.

Nathan Mates
--
<*Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
Aug 8 '07 #7
Thanks Carl,
Still a little confusing. :-)

Excel is a native application and it should not have any .Net Code, right?
So, I am wondering what are the managed assemblies Excel will interact? Could
you show me some examples what are they?

(I think they should be some plug-ins, but I am not quite sure.)
regards,
George

"Carl Daniel [VC++ MVP]" wrote:
George wrote:
Thanks Carl,
Could you describe in more details what means "the ability to load
.NET assemblies"? Excel loading .Net assembly by some platform interop
technologies or some other means?

Exactly.

Excel hosts the CLR, which is simply a collection of DLLs; the CLR, in turn,
hosts managed assemblies, which are also nothing but DLLs. Those managed
DLLs interact with Excel through an Interop layer (a PIA - Primary Interop
Assembly).

-cd
Aug 9 '07 #8
Thanks Nathan,
Do you mean this tools? Various tools are called Process Explorer. :-)

http://www.microsoft.com/technet/sys...sExplorer.mspx

regards,
George

"Nathan Mates" wrote:
In article <8E**********************************@microsoft.co m>,
=?Utf-8?B?R2Vvcmdl?= <Ge****@discussions.microsoft.comwrote:
What is "Process Explorer"? Could you provide an URL please?

URL : http://www.google.com/ . That provides all the links you
want. It's far faster than posting and waiting for a reply.

Nathan Mates
--
<*Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
Aug 9 '07 #9
George wrote:
Thanks Carl,
Still a little confusing. :-)

Excel is a native application and it should not have any .Net Code,
right?
The CLR itself is a native application (a few DLLs) - any native application
can be modified to load the CLR via the CLR Hosting APIs (look 'em up on
MSDN). Once the CLR is loaded, that application can host .NET assemblies
and can expose it's own internals via it's own interop facilities to .NET
assemblies.

So, I am wondering what are the managed assemblies Excel will
interact? Could you show me some examples what are they?
(I think they should be some plug-ins, but I am not quite sure.)
Yes, they'd be plug-ins of some sort, developed using VSTO. IIUC, Excel
also support COM-based plug-ins, VBA programs and macros - there's more
ways to extend Excel (or Word) than you can shake a stick at.

-cd
Aug 9 '07 #10
Thanks Carl,
I have found some materials on MSDN. Do you mean something like this,

http://msdn.microsoft.com/msdnmag/is.../CLRInsideOut/
regards,
George

"Carl Daniel [VC++ MVP]" wrote:
George wrote:
Thanks Carl,
Still a little confusing. :-)

Excel is a native application and it should not have any .Net Code,
right?

The CLR itself is a native application (a few DLLs) - any native application
can be modified to load the CLR via the CLR Hosting APIs (look 'em up on
MSDN). Once the CLR is loaded, that application can host .NET assemblies
and can expose it's own internals via it's own interop facilities to .NET
assemblies.

So, I am wondering what are the managed assemblies Excel will
interact? Could you show me some examples what are they?
(I think they should be some plug-ins, but I am not quite sure.)

Yes, they'd be plug-ins of some sort, developed using VSTO. IIUC, Excel
also support COM-based plug-ins, VBA programs and macros - there's more
ways to extend Excel (or Word) than you can shake a stick at.

-cd
Aug 9 '07 #11

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

Similar topics

6
2068
by: frankplank | last post by:
Hi *, I'm wondering if it is possible to create a C# object, and reference it *explicitly* in an excel document. I imagine this will be more possible if I programmatically populate the excel...
1
2277
by: Michael Tkachev | last post by:
Hi Everybody, I created an Excel file in the ASP.Net. When I wrote this file on the disk I tryed to release COM objects. But I couldn't do it. When my method finished an "Excel" process exists...
1
15859
by: Brian Conklin | last post by:
Hello Eneryone, I am having a problem. I have written a little app that will take a text "pipe" delimited file and place all of the values in to an Excel spreadsheet. It works great on any of my...
5
1561
by: Graham | last post by:
I have been asked by a client to produce a proof of concept of how .Net performs and works within an Excel workbook. Everything works perfectly with all the required events firing and data being read...
4
2290
by: Howard Kaikow | last post by:
When I build a setup project, the dependency in the setup project is tied to the version in which it was built. Is there a way to build a setup project that can be used in both versions of the...
0
1508
by: jason_cuteboy | last post by:
Hi all, Completely new to Vb.net and trying to create a simple VB Office Excel application/spreadsheet. When I built the project, and excel opens up an error comes up.... Customization assembly...
2
4913
by: Nicholas Dreyer | last post by:
The following error Run-time exception thrown : System.Runtime.InteropServices.COMException - Error loading type library/DLL. happens while running the code listed at the bottom of this...
7
2151
by: =?Utf-8?B?VGVycnkgSG9sbGFuZA==?= | last post by:
I have a vb.net app that opens an excel worksheet, reads data and then closes the sheet. Im noticing that the Excel process is still running after I have closed and disposed of my excel objects. ...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7165
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,...
0
7203
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...
1
6885
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...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1417
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 ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
290
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...

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.