您的位置:首页 > 编程语言 > VB

(Error:The system cannot find the file specified)用C#生成.dll 供VB6的开发人员调用

2014-02-24 14:36 881 查看


The system cannot find the file specified. CreateObject

I was attempting to use some vb.net code in a vbs file and was getting "The system cannot find the file specified." on the CreateObject
line. I tracked it down to the way I registered the DLL.

One sugestion told me to unregister and re register it with regsvr32. Because I was using .NET, I knew that was not it. It turned out
to be my use of regasm to register my DLL. I left out the /CODEBASE option.

Once I registered it with that option, the error went away.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐