Cannot create ActiveX component問題
會出現
Exception: Cannot create ActiveX component. at Microsoft.VisualBasic.Interaction.GetObject(String PathName, String Class) .........
我已經設定了<identity impersonate="true" />
請教如何?
----example: --------------------------
Dim oADsObject As Object
Dim strDomainName As String = "abc"
Dim strADsNamespace As String
Dim oADsNamespace As Object
strADsPath = "WinNT://" & strDomainName
oADsObject = Microsoft.VisualBasic.Interaction.GetObject("WinNT://" & strDomainName)
strADsNamespace = strADsPath.Substring(0, strADsPath.IndexOf(":"))
oADsNamespace = Microsoft.VisualBasic.Interaction.GetObject(strADsNamespace)
oADsObject = oADsNamespace.OpenDSObject(strADsPath, strUserName, strPassword, 0)
Return True
--------------
相关推荐
Delphi7.1 Update
Delphi 7.1 Update Release Notes=======================================================This file contains important supplemental and late-breakinginformation that may not appear in the main productdocumentation, and supersedes information contained in otherdocuments, including previously installed release notes.Borland recommends that you read this file in its entirety.NOTE: If you are updating a localized version of Delphi 7, visit the Borland Registered User web site to obtain a localized readme file that may contain important late- breaking information not included in this readme file.IMPORTANT: Delphi must be closed before installing this update. =====================================================CONTENTS * INSTALLING THIS UPDATE * UPDATING LOCALIZED VERSIONS OF DELPHI 7 * KNOWN ISSUES * ISSUES ADDRESSED BY THIS UPDATE - IDE - CORE DATABASE - DATASNAP - DBGO (ADO COMPONENTS) - dbExpress - dbExpress COMPONENTS AND DB VCL - dbExpress CORE DRIVER AND METADATA - dbExpress VENDOR ISSUES - dbExpress CERTIFICATION - WEB SNAP - ACTIVEX - COMPILER - RTL - VCL - THIRD PARTY - BOLD FOR DELPHI * VERIFYING THAT THE UPDATE WAS SUCCESSFUL * FILES INSTALLED BY THIS UPDATE =======================================================INSTALLING THIS UPDATE* This update can not be applied to Delphi 7 Architect Trial version. * This update can not be removed after it is installed.* You will need the original Delphi 7 installation CD available to install this update.* To install this update from the CD, insert the CD, and launch the d7_ent_upd1.exe file appropriate for your locale.* To install this update from the Web, double-click the self-executing installation file and follow the prompts. * The Delphi 7 documentation PDF files are available on the update CD.========================================================UPDATING LOCALIZED VERSIONS OF DELPHI 7* This update can be applied only to the English version of Delphi 7. There are separate updates for the German, French and Japanese ver
Delphi三方控件包识别与安装排错全攻略
在Delphi开发环境中,第三方组件的安装与管理是工程化开发的基础能力。组件包的类型(如源码包、DCU包)、依赖关系、以及IDE的Library Path配置,往往决定了安装成败与运行稳定性。理解设计期包与运行期包的区别,掌握依赖预装和路径配对的原理,能显著降低编译报错和IDE启动异常的概率。此类技术在日常开发中广泛用于数据库访问、表格增强和工具集成等场景。本文以常见的“D13三方控件.rar”为切入点,系统梳理从包体识别、解压检查、依赖排错到注册安装的完整流程,并结合EhLib、ODAC等典型组件的实际使
MATLAB驱动CST自动建模超表面:从COM接口到参数扫描全流程
电磁仿真设计正从手动建模走向自动化、参数化驱动的范式变革。作为行业主流的全波仿真工具,CST提供丰富的脚本接口,而MATLAB以其强大的数值计算与优化能力,成为驱动CST批量建模的理想选择。通过COM接口,MATLAB可直接调用CST的底层建模命令,将重复性的几何构建、边界设定、端口配置封装为可复用脚本,实现超表面单元乃至阵列的全自动建模与仿真。这种工作流不仅大幅缩短设计周期,更为参数扫描、相位调控、目标优化等高频设计场景提供了高效的工程实践路径。无论是频率选择表面、反射阵列天线,还是需要快速验证几何参数影
HFSS-MATLAB-API实战:自动化天线仿真与批量优化
在电磁仿真领域,手动重复建模与参数调整是效率瓶颈。借助MATLAB与HFSS的通信机制,通过COM接口将仿真流程脚本化,可实现自动化建模、批量参数扫描与智能优化。这类技术广泛应用于高频天线设计、微波器件调优等场景。以HFSS-MATLAB-API为例,深入解析其原理,展示从环境配置到微带贴片天线仿真的完整流程,并分享工程实践中的常见问题与排查方法,帮助工程师告别繁琐手动操作。
产业园区如何高效对接企业技术需求与高校科研成果?.docx
科易网基于AI模型+行业大数据,在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,推出科技创新领域的AI+工具与数智化解决方案,推动科技创新与产业创新智能化发展。



