473,465 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C#-DLL usable by VBA without framework?

Hi there,

Is there a way to create a DLL, written in C#, that can be referenced/used by VBA without the
necessity of installing the Framework on all the "Excel-PCs"?

TIA, Martin@Vienna@Austria@Europe
-------------------------------------------------------------------------
to get my real email address replace 'see@signature' with 'brunner@ximes'
Nov 16 '05 #1
2 1202
Martin Brunner wrote:
Hi there,

Is there a way to create a DLL, written in C#, that can be
referenced/used by VBA without the necessity of installing the
Framework on all the "Excel-PCs"?

TIA, Martin@Vienna@Austria@Europe


No, AFAIK you would still need the .NET runtime on the client PC's.
Nov 16 '05 #2
Not possible. You can expose your C# .DLL as a COM object that can be
referenced from VBA, however, this only creates a CCW (COM Callable Wrapper)
under the hood your .DLL must still be managed by the .NET runtime which must
be present in order to work.

sbeskur@_no_spammy_hotmail.com

"Martin Brunner" wrote:
Hi there,

Is there a way to create a DLL, written in C#, that can be referenced/used by VBA without the
necessity of installing the Framework on all the "Excel-PCs"?

TIA, Martin@Vienna@Austria@Europe
-------------------------------------------------------------------------
to get my real email address replace 'see@signature' with 'brunner@ximes'

Nov 16 '05 #3

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

Similar topics

1
by: Anatoly Volodko | last post by:
Hi All, I have installed .NET Framework v.1.1.4322 (with VS .NET 2003) on new operating system (any Windows version - 98, ME,2000, XP,2003 ). Thus, the Framework v.1.0.3705 is NOT installed....
17
by: theDever | last post by:
hi .. I was used VB, Java, PHP and C# to developed my own software , but now I have a project in C++ , and I'm a bit confused ... In PHP,C# and Java , there are a framework that provide a wide...
11
by: bart | last post by:
Hello, I'm so sorry, but i don't understand the concept of the .net environment yet. I made a simple program that retrieves the hostname and ipaddress of the local computer. But when i give...
3
by: Lubos | last post by:
Hi, How can i make this. When i maked a program in C# and then when the program is execute on computer without .NET Framework, how can i automaticaly invoke instalation of Framework after execute...
3
by: 1qa2ws | last post by:
Is it possible to compile somehow VS 2005 (C++/C#/J#) project in that what that it can be executed on machine without Framework 2.0? 1qa2ws
8
by: yxq | last post by:
Hello everyone I ever found a website that provide the technology of running program without installing framework, but now i forgot the URL, does everyone know the technology and the website? ...
8
by: Stoll | last post by:
I am thinking of buying a copy of VB, and wanted to make sure I could make use of it before I spend the money. Is there any way to create an application that would work without needing the .NET...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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
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,...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.