vb.net中的COM类问题 [英] Com Class problem in vb.net

查看:119
本文介绍了vb.net中的COM类问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在vb.net的Windows中创建了一个应用程序.在该应用程序中,我正在创建一个对象
我在以下错误中创建对象时出现AcroApp = CreateObject("AcroExch.App").

Hi

i have creating a application in windows in vb.net. in that application, i am creating a object
AcroApp = CreateObject("AcroExch.App") while i am creating the object in the below error occurs.

Unable to cast COM object of type 'System.__ComObject' to interface type 'Acrobat.AcroApp'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{9B4CD3E6-4981-101B-9CA8-9240CE2738AE}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).


给我一个解决办法.

谢谢,
SIVASANKARAN G


Give me a solution.

Thanks,
SIVASANKARAN G

推荐答案

关注此链接: http://www.freevbcode.com/ShowCode.asp?ID=7066 [ ^ ]


这篇关于vb.net中的COM类问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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