API: Add eModelViewControl to a Windows.Forms Application at runtime (eDrawings ActiveX Control)

Document created by Dan Seaman Employee on Feb 9, 2016Last modified by Joyce Bossom on Nov 2, 2017
Version 3Show Document
  • View in full screen mode

This example shows how one can add instances of the eDrawings ActiveX control (IEModelViewControl) to a Window.Forms application at runtime. This technique allows Visual Studio users to overcome the architecture mismatch which prevents the 32-bit Visual Studio Forms Editor from loading the 64-bit eDrawings library, eModelView.dll.


The technique requires the Client Application developer to manually generate an Interoperability Assembly for eModelView.dll to reference from their assembly. Please refer to the enclosed ReadMe.docx for details.


- Subscription Services required for full access.

- Looking for more API Examples?

Copyright © 2016 Dassault Systèmes SolidWorks Corp. All rights reserved.
Do not distribute or reproduce without the written consent of Dassault Systèmes SolidWorks Corp.