【问题标题】:C# Winform ActiveX error while add in VFP form在 VFP 表单中添加时 C# Winform ActiveX 错误
【发布时间】:2019-10-01 10:19:54
【问题描述】:

我为 PDFViewer (PdfiumViewer.dll) 创建了一个 ActiveX 控件,以便在 Visual FoxPro 表单中使用。

添加到 Visual Foxpro 表单时,我收到以下错误:

第一次Ole Error类未注册ole错误码0x80040154

然后

Ole 错误代码 0x80070002:系统找不到指定的文件。

【问题讨论】:

  • 构建:846 .NetFramework:2.0 [ClassInterface(ClassInterfaceType.AutoDual)] [ComVisible(true)]
  • 注册 regasm /codebase

标签: c# activex visual-foxpro


【解决方案1】:

通过 /codebase 使用 RegAsm 修复

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多