Visual Basic Customization

Visual Basic Customization

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

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

164 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: 9,583
Registered: ‎06-29-2007
Message 2 of 2 (152 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
-------------------------------------------------------------------------
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.