.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

create a toolbar and run the .net exe in autocad

3 REPLIES 3
Reply
Message 1 of 4
devulapally_vijay
521 Views, 3 Replies

create a toolbar and run the .net exe in autocad

hi

in my project, the output drawings will be generated in autocad.

when i install my software,and open the autocad
then a toobar with a button should be created,by pressing the button i want to run the project

it is like, when i install the software , a shortcut icon is shown in desktop
similarly i need to generate a shortcut in autocad toolbar

is there any way..

thanking you in advance
vijay kumar
3 REPLIES 3
Message 2 of 4

I need the answer to this too. I've found information on making ribbons, but the code I found doesn't seem to be applicable to the current version of either AutoCAD or Visual Studio. Here's the link to that in case it helps you :http://au.autodesk.com/?nd=class&session_id=5163 If you figure it out let me know.

I found a few other discussions that might help:
http://discussion.autodesk.com/forums/thread.jspa?threadID=483240
http://discussion.autodesk.com/forums/thread.jspa?messageID=4531456 Edited by: vampirefromtheitcave2 on Jan 5, 2010 6:34 PM
Message 3 of 4

First, if the three little letters in your subject line are accurate (exe), then you can have your exe start autocad or connect to an existing instance, and interact with it through the COM interface only, but you can't have a button in Autocad that executes code from your exe. To do that you would have make it a .dll and load it into Autocad.

Vampire...:
Judging by the links you provided as reference, you are apparently using a .dll, so perhaps if you were more specific as to what you're having trouble with, someone out here can probably help.
Dave O.                                                                  Sig-Logos32.png
Message 4 of 4

I am trying to create a button during the install of my program. I am also trying to enter the pieces needed for functionality into the registry. Since I need to do both of these things during a company-wide install, it is impractical to do them manually. The button would simply call a function in my dll that opens a windows form. I have had some limited success with the registry, but when I enter the values using my installation program, AutoCAD does not recognize the command.

Thank you for all your help.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost