Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing an object from another object in the stack
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00406968
Message ID:
00409086
Views:
22
If I am correct, once you are running a lisp program you are stock in it.

So if you use VBA, you can declare public variable that can be change by the COM object you will call. So you will be replacing the lisp call with a createobject() command in VBA.

Let me know what the result of your finding.

>Yep, AutoCad does have VBA. I'm not using it though. I'm doing all the calling of the VB DLL from lisp. Wouldn't I have to call from VBA to declare a public var?
>
>Just for fun, here is the lisp code:
>
>
(setq oBM (vlax-create-object "BasinMaker.BM_Application"))
>(vlax-invoke-method oBM "ShowFormWiz")
>(vlax-release-object oBM)
>(setq oBM nil)
>
>Pretty goofy looking, huh?
Previous
Reply
Map
View

Click here to load this message in the networking platform