在C#项目中调用VB COM时如何添加tlb文件 [英] How to add tlb file when I call a VB COM in C# project

查看:634
本文介绍了在C#项目中调用VB COM时如何添加tlb文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个使用大量COM +组件的项目. 注册此com后,他们创建了一个dll文件和tlb文件.

I'm working on a project that uses a lot of COM+ components. After register this com, they create a dll file and a tlb file.

推荐答案

该消息已清除.单击程序集"选项卡,然后添加.NET程序集,而不是使用类型库将其添加为COM库.如果为COM +配置了该组件,则应该可以在Program Files \ ComPlus应用程序下找到该组件. 文件夹.请记住,您可以同时创建32位和64位COM +组件,因此请确保在相应的Program Files文件夹下查找.
The message is clear. Click on the Assemblies tab and add the .NET assembly instead of adding it as a COM library using a type library. If the component is configured for COM+ you should be able to find it under the Program Files\ComPlus Applications folder. Keep in mind that you can create both 32-bit and 64-bit COM+ components so make sure to look under the appropriate Program Files folder.


这篇关于在C#项目中调用VB COM时如何添加tlb文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆