几何尺寸与公差论坛------致力于产品几何量公差标准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-13, 12:09 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】image preview from external program

image preview from external program
i am getting ready to implement an image preview in a project i am working on. from the posts regarding this, it does not seem to be very friendly. i have created an external app in vb.net (2008 to be exact). i am thinking of using the document manager to approach this.
bottom line - does anyone have any tips or code that they will be willing to share from their experiences?
thanks in advance!
tony szuta
cswa, cswp, cswp-smtl
veeeeery tricky subject tony, i have only just implemented it myself in batchprocess and it involved some pretty slick programming from com and a bit of unmanaged code in the c#.
all i can say is its not a one line answer and due to a business point of view i cannot just give you the solution, but i will say your "simplest" way although still hard work is to use dm not sw as you will need to dynamically create an in-process thread to retrieve an image callback to your app.
got the image preview all sorted out. i found a great snippet of code and implemented it with my program. works great! dm was the way to go. the hardest part was getting the key from solidworks. the first one that they had issued did not work. as soon as i got the new key, it fired up without any issues.
tony szuta
cswa, cswp, cswp-smtl
good stuff. be aware that key should be your own key not anyone elses and it should not be ditributed or visible to the end users
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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



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


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