Why do I receive the error "ActiveX Component Can't Create Object" when referencing my COM component in my Visual Basic program?
显示 更早的评论
I have built a COM object using the MATLAB COM Builder Toolbox for MATLAB 6.5 (R13) successfully. However, when I go to add this COM object to my Visual Basic program I get an error.
These are the steps I performed to reference my COM object in my Visual Basic application:
1. Go to Menu -> Project -> References...
2. Click the Browse... button
3. Navigate to your COM object (e.g. mycom_1_0.dll)
4. Finally click OK
After click OK, I receive the following error:
ActiveX Component Can't Create Object
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!