几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-04-12, 09:29 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】install vb.net addin to the users computers1

install vb.net addin to the users computers!
i've tried and tried and tried and failed miserably to install an addin created in vb.net to a user computer.
i'm just wondering how you guys here send your addin the the end users? what software (install packate) are you using? or if you please, hight light steps how to install the addin?
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
edited: 11/12/2008 at 01:50 pm by chris ch
there are many many posts on this in the last few weeks you should be able to find one.
all you really need to do to manually install an addin is call regasm on it. you can semi-automate this using batch files or fully automate it using an install package such as visual studio setup projects or installsheild or the likes.
also try if you havent yet the tool available on the solidworks downloads forum!
go to this url:
as i said, i used regasm.exe and it doesn't seem working ... i'm still not sure why
what i would like to know is: what install package you are using and whats your recommendation?
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
most likely you aren't calling regasm.exe from the folder where it reside or you aren't calling it with the visual studio command line tool (different than cmd).
try using the fully qualified (c:\windows\...regam.exe) path to regasm like this:
c:\windows\microsoft.net\framework\v2.0.50727\regasm %1 myapp.dll /codebase
keep in mind that the previous line is specific to the 2.0 .net framework and also to 32bit windows.
good luck,
jeff cope
originally posted by: chris ch
as i said, i used regasm.exe and it doesn't seem working ... i'm still not sure why
what i would like to know is: what install package you are using and whats your recommendation?
thx, chris
jeff cope
extensible cad technologies
800.379.0322
thx, jeff
i used the path you provided for the regasm.exe and here is the mesg i got
(pls. see the att. image)
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
edited: 10/24/2008 at 05:24 pm by chris ch
click for full image
anyone ???
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
are you including solidworks.interop.swpublished.dll .in your package?
wayne matus
texas engineering systems
yes, i added it to the package and nothing changed
oh..man ... i'm tired of it already
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
you are going to have to get solidworks api support involved.
wayne matus
texas engineering systems
chris,
i think the issue could possibly be due to the solidworks sdk template using a different version of swpublished than that which resides on your computer. are you able to run it on your development computer? check out the post on my blog for debugging your solidworks addin environment for more information about this sort of thing.
jeff
jeff cope
extensible cad technologies
800.379.0322
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】install vb.net addin to the users computers1 yang686526 SolidWorks二次开发 0 2009-04-12 06:44 PM
【转帖】calling a sw addin from exe-file yang686526 SolidWorks二次开发 0 2009-04-12 05:42 PM


所有的时间均为北京时间。 现在的时间是 02:04 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多