my_computer 发表于 2004-3-17 14:51:00

该如何让lisp运行vb程序?

我看过lisp的帮助:


(if (equal nil mswc-wd100Words) ; 检查 Word 常量<BR>        (vlax-import-type-library<BR>:tlb-filename "D:/Program Files/Microsoft Office/Office/MSWORD9.OLB"<BR>:methods-prefix "mswm-"<BR>:properties-prefix "mswp-"<BR>:constants-prefix "mswc-"<BR>)<BR>)


其中的引用olb文件可以为dll文件吗?


vb的程序如何编译为olb文件?

秋枫 发表于 2004-3-17 23:48:00

如果只是运行VB程序的话,(startapp ……)就够了。

my_computer 发表于 2004-3-18 08:40:00

是这样吗? (startapp "1.exe")


由于vb的程序中使用了thisdrawing,怎么才能让vb知道当前运行的acad哪!?


getobject仅能得到第一个acad。
页: [1]
查看完整版本: 该如何让lisp运行vb程序?