Brendan Collins

EModelViewControl (eDrawings API)

Discussion created by Brendan Collins on Jul 30, 2007

Hi,

 

I would like to instantiatean instance of the non-version specific control in a VB.Net(preferably) or VB6 application. I'm trying to create a very simpleprogram for printing SolidWorks documents and don't want to have tocontinually edit and recompile the code with every new version ofeDrawings, etc...

 

Ideally I need to listenfor the following model viewer events in my app:

 

OnFinishedLoadingDocument

OnFinishedPrintingDocument

 

Although the APIdocumentation alludes to it, there are no good examples ofinstantiating the non-version specific control in a VB.Net(preferably) or VB6 application (not HTML). I've experimented to mywits end and do not know what I'm doing wrong. If I need to createthe control dynamically at runtime that's fine, I've just not beenable to do it...

 

I would greatly appreciateif you have some kind of example of this.

 

Thanks,

Outcomes