VB.NET上的错误System.Runtime.InteropServices.COMException(0x80040154) [英] Error System.Runtime.InteropServices.COMException (0x80040154) on VB.NET

查看:614
本文介绍了VB.NET上的错误System.Runtime.InteropServices.COMException(0x80040154)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在WIN10(64位)上运行应用程序,OFFICE2013(32位)


使用  Microsoft DAO 3.6对象库


语言: VB.NET


当init:Dim daoDBEngine As New DAO.DBEngine


然后抛出异常:  System.Runtime.InteropServices.COMException(0x80040154 )


我不知道为什么?


请帮助我。谢谢


解决方案

对于平台,您是否选择了x86(32位)选项?

I run application on WIN10(64bit), OFFICE2013 (32Bit)

Using Microsoft DAO 3.6 Object Library

Language: VB.NET

When init : Dim daoDBEngine As New DAO.DBEngine

Then throw exception : System.Runtime.InteropServices.COMException (0x80040154)

I don't why?

Pls help me. Thanks

解决方案

For the Platform, do you have the x86 (32-bit) option selected?


这篇关于VB.NET上的错误System.Runtime.InteropServices.COMException(0x80040154)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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