几何尺寸与公差论坛

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

【转帖】vb express 2008 addin template

[复制链接]
发表于 2009-4-13 15:14:35 | 显示全部楼层 |阅读模式
vb express 2008 addin template
where i can find the template for vb express 2008 addin?
in the download site, i see the tempalte for 2005 and it doesn' seem to convert correctly to 2008
thx, 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
i don't believe that there is a vb2008 template.
the vb2005 template works fine for me in vb2008. i have been using it for a while now without any issues. what problems are you having?
tony szuta
cswa, cswp, cswp-smtl
i followd this readme
setting up the visual studio 2005 vb.net addin template.
1) register solidworkstools.dll in the global assembly cache
either
- in file explorer, locate "c:\windows\assembly".
- drag and drop solidworkstools.dll into that directory.
or
- run gacutil /i from the sdk/visual studio 2005 command promt
2) copy swvbaddin.zip to visual studio 2005's visual basic project template location.
to find this location:
- launch visual studio 2005
- click on the tools -> options menu
- expand "projects and solutions"
- click on "general"
- the second entry should be "visual studio user project templates location"
- in that directory is one specifically for visual basic.
that is where you want to place the swvbaddin.zip file.
simply leave it zipped; just copy it to that location.
now when you create a new project in visual studio 2005, and select visual basic as the language,
you should see "swvbaddin" as a template choice.
and got the error mesg when i run vbexpress 2008 - see att. image
thx, 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
that error usually means you need to repair something on your system. try re-installing visual studio as all the messing around has probably corrupt something, and download the template again
i tried on different computer and got the same error mesg
there is something to do with the version but i could not figure it out
reintall the software won't solve the problem
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
then it is probably your methodology of registering the dll in the first place. are you using regasm or gacutil or just drag/drop?
i finally got it working now
somehow i had problem with the drag/drop .dll file into the window/assembly
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
i've used gacutil /i, ensured the .zip file is in the correct visual studio user project templates location, and no matter what i do i cannot get the template to show up.
any thoughts? any way someone can provide me with the set of vs2008 file that the template generates?
thanks
lee
lee,
here you go. hopefully it is all that you need.
tony szuta
cswa, cswp, cswp-smtl
thank you tony!
i'll give it a try this weekend.
lee
worked like a charm. thanks!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 13:17 , Processed in 0.035542 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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