Visual Basic Customization

Visual Basic Customization

Distinguished Contributor
231 Posts
1 Kudo
Registered: ‎11-06-2006
Post 1 of 2

Adding a buttom to a tool bar that triggers a VB code.

165 Views, 1 Replies
08-13-2012 10:06 AM



I have a couple of VB pieces of code that set up the standards of my company. What I want to do create a buttom in my Workspace -within a tab created by me with the CUI tools- and trigger my VB code.



How is possible to create this buttom that is connected with my code and displayed in my workspace?


Thanks in advance





*Expert Elite*
9,833 Posts
1,218 Kudos
Registered: ‎06-29-2007
Post 2 of 2

Re: Adding a buttom to a tool bar that triggers a VB code.

08-13-2012 12:59 PM in reply to: RafaelMoreno



you can use the command _VBARUN (>>>details<<<) (also within a lisp-statement) and use that within your menu-macros.


HTH, - alfred -


Ingenieur Studio HOLLAUS ...
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!