几何尺寸与公差论坛

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

【转帖】cant add solidworkstool

[复制链接]
发表于 2009-4-13 09:33:30 | 显示全部楼层 |阅读模式
can't add "solidworkstool"
i use vista os,solidworks2008, then i want to add vb template for vb.net 2005 but i can't add "solidworkstool.dll" in to c:/window/assembly. can anybody help me
thank,
shukree
why can't you add it to /assembly? what is the problem? do you get an error message?
i think we need a few more details before the answer can be figured out.
tony szuta
cswa, cswp, cswp-smtl
thank, tony
because i want to add vb template into vb.net 2005,it's must copy "swvbaddin.zip" into the project template folder, drag and drop "solidworkstools.dll" into this directory "c:\windows\assembly", this step has error like picture below. when start vb. project in vb.net it's works,but when debugging it's have this error "cannot register assembly"c:\user\tx2004\appdata\temporary project\swvbaddin1\bin\swvbaddin1.dll"exception has been thrown by the target of an invocation"
thanks,
shukree
edited: 07/07/2008 at 09:32 am by shukree deasa
click for full image
hello shukree,
was solidworks running when you tried to drag and drop the .dll file? if so make sure that you close it before trying to replace any files in the assembly folder.
cheers,
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
hi, stavros
solidworks is not open when i drag and drop .dll, i use windows vista os. is it cause of an error? is that template support for vista? because in windows xp os it's can drag&drop .dll into assembly folder.
thanhs,
shukree
here is a tip i found online.
when attempting to manually add the solidworkstools.dll to the gac myself via the "gacutil /i solidworkstools.dll" command, i was informed by windows that..."failure adding assembly to the cache: access denied. you might not have sufficient priviliges...blah...blah...blah..." i was quite surprised at this since i am an administrator and only user on this machine. after looking through some google hits, (i love you google-you are always my shoulder to cry on when microsoft makes me sad) i followed a poster's recommendation and turned off "user account control" from the control panel. this required a reboot but once i did it, i was able to add solidworkstools.dll to the gac and then i was able to create a new vb 2008 solidworks add-in. hooray!
hopefully this will work for you.
tony szuta
cswa, cswp, cswp-smtl
intel core2 quad (q6600 @ 2.40 ghz)
nvidia quadro fx 4600 sdi
solidworks 2008 sp 4.0 (x32 & x64)
solidworks 2009 sp 2.0 (x32 & x64)
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-24 10:31 , Processed in 0.037998 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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