几何尺寸与公差论坛

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

【转帖】save dialog window

[复制链接]
发表于 2009-4-13 14:05:07 | 显示全部楼层 |阅读模式
save dialog window
i'm trying to generate the standard save as window you get when saving a newly created file. is there a way to get this? when i record a macro for saving a new file, it hard codes the file name and location in. i want to allow the user to browse to a location and enter the file name.
thanks
mechanical engineer
temptronic corp
.temptronic.com
you will need to add a use form o teh macro and then add a commondialog control to the form. as a default, this control is not available in solidworks vba so you will have to add it to your available controls. "tools->additional controls" and check "microsoft common dialog control".
wayne matus
texas engineering systems
thanks wayne, i'll check into that.
mechanical engineer
temptronic corp
.temptronic.com
wayne,
i get an error when i try to drop the control on my form. i get a pop-up with "the control could not be created because it is not properly licensed."
i don't understand what the error is here. do you have any idea of a fix?
mechanical engineer
temptronic corp
.temptronic.com
here is link where someone found answer to your problem.
wayne matus
texas engineering systems
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 23:21 , Processed in 0.035278 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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