By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,490 Members | 892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,490 IT Pros & Developers. It's quick & easy.

Consuming a .NET 3.5 Assembly in MS Access 2003

P: n/a
Ben
Hi all!

I am confronted with this question if MS Access 2003 can consume a .NET 3.5
assembly or not. Is this possible?

Thanks,

Ben
Nov 1 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Sat, 1 Nov 2008 13:09:22 -0700, "Ben" <pi******@sbcglobal.net>
wrote:

It is simpler for the .NET programmer to add a COM wrapper to her
assembly, then you can use it as any other COM object.

But if you must, you can use the Interop Toolkit to write a hybrid
application. That's not exactly the same thing as "consuming a .Net
assembly, but perhaps a step in the right direction.

-Tom.
Microsoft Access MVP

>Hi all!

I am confronted with this question if MS Access 2003 can consume a .NET 3.5
assembly or not. Is this possible?

Thanks,

Ben
Nov 1 '08 #2

P: n/a
"Ben" <pi******@sbcglobal.netwrote in message
news:RC*****************@flpi150.ffdc.sbc.com...
Hi all!

I am confronted with this question if MS Access 2003 can consume a .NET
3.5 assembly or not. Is this possible?
It should be possible, since you can do this for vb6, and ms-access can use
"com" objects the same like vb6 can.

Here is an article describing the process of consuming .net from vb6.

http://support.microsoft.com/default...b;en-us;817248

and this should help too

http://msdn.microsoft.com/en-us/library/tzat5yw6.aspx

I not done the above, but it does hint that the .net app has to be correclty
compiled with options to expose the code as a windows "com" object. Once it
is a com ojbect, then word, excel, vb6, access etc. should be able to
consume the .net object.

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Nov 2 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.