Visual Basic Customization

Visual Basic Customization

Reply
Distinguished Contributor
RafaelMoreno
Posts: 227
Registered: ‎11-06-2006
Message 1 of 2 (163 Views)

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

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

Hi:

 

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

 

 

 

Rafael

*Expert Elite*
Alfred.NESWADBA
Posts: 8,996
Registered: ‎06-29-2007
Message 2 of 2 (151 Views)

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

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

Hi,

 

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

 

HTH, - alfred -

 

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.