erdurmaz Posted December 30, 2008 Posted December 30, 2008 Hi everbody i usually use visual lisp for macro codes. But VBA forms are very powerfull for dialogs. So that i want to use visual lisp and vBA forms together. Visual lisp code in below ......... (vla-setvariable (active-document) "USERR1" 0) (vla-setvariable (active-document) "USERR2" 0) (vla-setvariable (active-document) "USERI1" 0) (vla-setvariable (active-document) "USERS1" "") (vla-setvariable (active-document) "USERS2" "") (vla-setvariable (active-document) "USERS3" "") (vl-vbaload "c:/Asm-Set/Acad-VBA/Kiris_ismi_duzenleme.dvb") (setq applic (vlax-get-acad-object)) (vla-eval applic "kiris_ismi.show") (if (= (vlax-variant-value (vla-getvariable (active-document) "USERS5")) ;_ end of vlax-variant-value "T" ............ and VBA Form in below When runing code VBA form shows properly but when press layer button on form autocad crosshair doesnt shown. So that i cant select any entity. Is there any solution about this problem. Please help me Quote
ASMI Posted December 30, 2008 Posted December 30, 2008 Download OpenDCL for free and make dialogs for AutoLISP http://opendcl.com/wordpress/. It more powerfull than standard VBA dialogs. Quote
erdurmaz Posted December 30, 2008 Author Posted December 30, 2008 thanks a lot I try OpenDCL for dialaogs at first sight it seems very good. thanks your interests Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.