Using VB.NET 2008 DLL as a COM DLL
2011-09-13 12:41
411 查看
Let us know your VB2008 edition. Is it the Express or other edition?
I think that 'Register for COM Interop' option and ComClass template should be supplied VS2008 standard edition and higher edition. I use VS team system 2008 and have these features.
If you use VB Express, you also can implement your requirement to decorate the interface and class with some attributes so that this .NET component can be used as one COM component. Please refer to the following articles for your reference:
1. Exposing COM interfaces of a .NET class library for Late Binding
An article on how to expose COM interfaces for .NET components to be used by clients using Late Binding.
http://www.codeproject.com/KB/vb/MusaExposingCOM.aspx
2. Exposing .NET Components to COM
A method of calling .NET functions from a COM enabled non .NET environment through a COM callable wrapper.
http://www.codeproject.com/KB/COM/nettocom.aspx
Riquel
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
I think that 'Register for COM Interop' option and ComClass template should be supplied VS2008 standard edition and higher edition. I use VS team system 2008 and have these features.
If you use VB Express, you also can implement your requirement to decorate the interface and class with some attributes so that this .NET component can be used as one COM component. Please refer to the following articles for your reference:
1. Exposing COM interfaces of a .NET class library for Late Binding
An article on how to expose COM interfaces for .NET components to be used by clients using Late Binding.
http://www.codeproject.com/KB/vb/MusaExposingCOM.aspx
2. Exposing .NET Components to COM
A method of calling .NET functions from a COM enabled non .NET environment through a COM callable wrapper.
http://www.codeproject.com/KB/COM/nettocom.aspx
Riquel
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
相关文章推荐
- using vb.net export a datatable to Excel and save as file
- VB.NET中制作COM_DLL在VBA、VB中调用
- LINQ 首部曲 : LINQ To Object Part 1 - Using VB.NET 2008
- A Beginner Tutorial for Writing Simple COM/ATL DLL and Using it with .NET
- [VB.NET]安装完office2003后,无法找到com库文件Interop.Excel.dll?
- AsyncFileUpload File Type and File Size Validation using VB.NET
- [VB.NET]VB6能调用VB.net编写的DLL么?
- Add COM and ActiveX Support in .NET Compact Framework Using Odyssey Software CFCOM
- 使用Modernizr 检测HTML5和CSS3浏览器支持功能 (转自http://www.adobe.com/cn/devnet/dreamweaver/articles/using-modernizr.html)
- VB创建ActiveX dll 的COM服务器,VC调用VB COM方法
- VB .NET 2003 using datagridTableStyles on multiple tables in a data grid
- How to invoke active dll written by VB using VC - VC如何调用VB写的Active Dll - 详解
- VB.NET中的DLL编写和调用的最简单示例
- VS2010开发——vc++项目编写DLL提供vb.net调用
- vb.net 封装 组件 成 com的方法
- VB.NET 2008窗体应用技巧
- [VB.NET]DLL中,怎样写一个文件用来保存每次访问DLL后变量的自增1
- 如何用RegAsm.exe在开发/生产环境中注册C#/VB.NET开发的DLL
- 2哥学Vb.net--VBS 操作VB.net dll
- [VB.NET]关于用DLL读INI的问题?