Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing an object from another object in the stack
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00406968
Message ID:
00409086
Vues:
23
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform