Examples COM / ActiveX
Several source code examples for the COM / ActiveX API are available in the following folder:
c:\Program Files\Graebert GmbH\ARES Commander **** SDK\Samples\COM\
 :
c:\Program Files\Graebert GmbH\ARES Commander **** SDK\Samples\ActiveX\
 :
Â
Location | Short Description |
| Accesses all the menus from AcadPopmenuCollection. AcadPopMenuCollection is the collection of both menus and contextual menus. |
| Logs the event in a list and helps to check whether event fires or not. |
| Creates a drawing by launching Ares Commander through Out-Proc |
| Creates a circle in the graphic area. |
| Exports the dwg file to BMP file at MyDocuments folder at different zoom levels. |
| Launches Ares Commander and loads the scripts and lisps. After loading saves the drawing to MyDocuments/AresDrawings. Also checks whether drawing exist or not. |
| Creates around hundred objects in one to two seconds of time by using transaction in COM. |
| Creates a line by the given coordinates sent as a command. |
| ARES as ActiveX Control and put this control to any Windows Form using COM |
| ARES as ActiveX Control and put this control to any Windows Form using .NET |
| ARES as ActiveX Control and put this control to any Windows Form using MFC |
For more detailed steps on how to run the sample, please refer to Readme.txt present inside every Sample folder of COM.
Â