查看单个帖子
旧 2009-04-12, 10:34 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】sw vb addin template vb express 2008

sw vb addin template & vb express 2008
i have solidworks 2009 sp 2.1 installed and vb express 2008. i wish to create an addin for sw but when i try to open the solidworks addin from the templates i get the following error.
error: this template attempted to load an untrusted component 'solidworkstools, version=1.0.0.1, culture=neutral, publickey token=bd18593873b4686d'. for more information on this problem and how to enable this template, please see documentation on customizing project
templates.
i did find a refernce to this error w/ vb express 2005 that stated the fix as dragging the file solidworkstools.dll to the c:\windows\assembly folder to register the dll with the "global assembly trust". i tried this with no change.
has anyone been able to work with this template in vb express?
thank you
j. girgenti
dp&d technologies, llc, owner
supermicro x7dae, 1x 5430, 4gb, xp x86 and x64, geforce 8800gts-512, sata 10krpm, sw 2009 sp2.1
hologic inc., sr. mechanical designer
dell t7400, 2x e5430, 8gb, xp x64, quadro fx4600, sas 15krpm(x2) raid 0, sw 2009 sp2.1
dell t3400, 2x qx9650, 8gb, xp x64, quadro fx4800, sata 10krpm(x2) raid 0, sw 2009 sp2.1
the last version of vbe was limited and could not create add-ins. you might want to verify that vbe2008 removed this limitation before going too far down that road.
i'll get you eh steve, if it's the last thing i dooooo!
there is no limit with vbe2k8 other than it does not have an auto-com register function you have to do it manually using regasm
thank you both,
i am now able to open the template in vbe 2008. i will soon see if i am able to make the addin. it does look like the express version does have that limitation.
j. girgenti
dp&d technologies, llc, owner
supermicro x7dae, 1x 5430, 4gb, xp x86 and x64, geforce 8800gts-512, sata 10krpm, sw 2009 sp2.1
hologic inc., sr. mechanical designer
dell t7400, 2x e5430, 8gb, xp x64, quadro fx4600, sas 15krpm(x2) raid 0, sw 2009 sp2.1
dell t3400, 2x qx9650, 8gb, xp x64, quadro fx4800, sata 10krpm(x2) raid 0, sw 2009 sp2.1
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)