在asp.net C#中使用VB 6.0 DLL [英] Use VB 6.0 DLL in asp.net C#

查看:113
本文介绍了在asp.net C#中使用VB 6.0 DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Experts

我们在asp.net c#中使用vb6.0 dll时出现问题。



错误如下所示:

Hello Experts,
Problem when we use vb6.0 dll in asp.net c#.

The error is shown given below:

Quote:

检索具有CLSID {58D9CC04-的组件的COM类工厂DCA3-4A25-9E05-8A122419D0B2}由于以下错误而失败:80040154。

Retrieving the COM class factory for component with CLSID {58D9CC04-DCA3-4A25-9E05-8A122419D0B2} failed due to the following error: 80040154.



请解决此问题并逐步向我解释示例。



谢谢,

T.Ramesh Kumar


Please solve this problem and explain me step by step with examples.

Thanks,
T.Ramesh Kumar

推荐答案

在Visual Studio中转到项目属性并选择Build标签。设置平台目标= X86
In Visual studio go to project properties and select the Build tab. set the platform target =X86


这篇关于在asp.net C#中使用VB 6.0 DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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