几何尺寸与公差论坛

 找回密码
 注册
查看: 567|回复: 0

【转帖】macro wont work in 2008

[复制链接]
发表于 2009-4-13 12:43:10 | 显示全部楼层 |阅读模式
macro won't work in 2008
i just upgraded to swx2008 office pro sp-3.1. when i try to run one particular macro i get a "object doesn't support this property or method." error
i checked my vb references and found that the solidworks 2007 commands type library is no longer loaded. when i try to load the reference i get an "error in loading dll." error.
did something change in 2008 to make the 2007 commands type library no longer valid?
vince
reswug leader
rohnert park, ca
vincent,
nothing made it invalid... you just upgraded solidworks. to get your macro working, delete the missing reference, and add a reference to the solidworks 2008 library instead of the 2007 one. that should get it working.
kevin bennett
kevinsbennett@navitech.us
like kevin said; to do that just go to the tools->references... menu and remove all solidworks items, click ok, go back in, then re-add them.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 13:50 , Processed in 0.037952 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表