PC Review


Reply
Thread Tools Rate Thread

C#-DLL usable by VBA without framework?

 
 
Martin Brunner
Guest
Posts: n/a
 
      15th Feb 2005
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'
 
Reply With Quote
 
 
 
 
Tim Jarvis
Guest
Posts: n/a
 
      15th Feb 2005
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.
 
Reply With Quote
 
=?Utf-8?B?U0Jlc2t1cg==?=
Guest
Posts: n/a
 
      15th Feb 2005
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'
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xml-text - not usable - .net framework 3.5 / VS2008 Rolf Welskes Microsoft Dot NET Framework 2 10th Jan 2008 11:03 PM
Usable RAM =?Utf-8?B?UGF1bDMz?= Windows XP General 12 5th Jul 2007 08:48 PM
4GB usable only getting 3GB ? someblackguy7130 Support 9 29th Aug 2006 09:12 PM
IDE Controllers 3 and 4 ... are they usable? ag Windows XP Hardware 1 8th Mar 2004 02:13 AM
simple TCP socket connect (emulator - framework FAIL); framework - framework - Works [Help will be compensated] Yechezkal Gutfreund Microsoft Dot NET Compact Framework 0 16th Jul 2003 06:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:31 AM.