zzz8662 发表于 2004-7-20 16:43:00

如何在VBA中获得带有预览图象的AutoCAD "Open File Dialog"对话框

如何在VBA中获得带有预览图象的AutoCAD "Open File Dialog"对话框,并且选择了图形文件后,在autocad中打开?

雪山飞狐_lzh 发表于 2004-7-21 11:48:00

引用Vlax类


Dim a As New VLAX<BR>a.EvalLispExpression "(setq a (getfiled" &amp; " " &amp; Chr(34) &amp; Chr(34) &amp; " " &amp; Chr(34) &amp; Chr(34) &amp; " " &amp; Chr(34) &amp; "dwg" &amp; Chr(34) &amp; " " &amp; "8))"<BR>MsgBox a.GetLispSymbol("a")<BR>

leer 发表于 2004-7-23 17:26:00

要用vlx,要怎么引用类库啊?
页: [1]
查看完整版本: 如何在VBA中获得带有预览图象的AutoCAD "Open File Dialog"对话框