几何尺寸与公差论坛

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

【转帖】docevent question 1

[复制链接]
发表于 2009-4-13 10:28:14 | 显示全部楼层 |阅读模式
docevent question !
i have this simple code in a form and the swdocevents does not fire each time i change the active doc
what am i doing wrong here
thx, chris
dim withevents swdocevents as sldworks.sldworks
private function swdocevents_activemodeldocchangenotify() as long
msgbox "active model change " & me.name
end function
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
edited: 08/08/2008 at 01:30 pm by chris ch
how is the swdocevents object set? it starts as nothing when dim'd, but i don't see where it connects to the sw application.
thx, roland
i forgot to set it connected to sw
get it working now
chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 22:41 , Processed in 0.037343 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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