Appendix C. Calling Managed Code

This appendix provides information about how to call managed code from Access. It begins with an explanation of what managed code is and why you might consider using it in your Access applications. In the process, it defines some commonly used terminology that you might come across while working with managed code. Finally, you'll look at two ways you can use managed code in Access—using class libraries and COM add-ins.

The managed code examples in this appendix are written in both Visual Basic and Visual C#. In this appendix, Visual Basic refers to Visual Basic .NET. This matches the conventions used by Visual Studio and the documentation on MSDN.

Get Access™ 2007 VBA Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.