Visual Studio 2012 Visual Basic and X7

Dear Ladies und Gentleman,

support code 339102577.

We want to develop a Visual Studio Project with Visual Basic and CorelX7.
With Corel X6 everything is perfect. Same steps and no error.
In Corel X7 we receive the Error:  “Cannot embed interop type 'CorelDRAW.DIVGApplicationEvents_Event' because the source interface 'VGCore.DIVGApplicationEvents' referenced by its ComEventInterfaceAttribute cannot be found.”

I don’t know how to solve this Error. I hope you can help us.

 

Steps to reproduce:

1)    Create a Visual Studio 2012 Projekt  Language Visual Basic – „Windows Forms Application“

 

 

2)      Add a Reverence to “CorelDraw 17.3 Type Library “ and “Corel – Vector Graphics Core 17.3 Type Library”

3)      Add following Code



Error     1             Cannot embed interop type 'CorelDRAW.DIVGApplicationEvents_Event' because the source interface 'VGCore.DIVGApplicationEvents' referenced by its ComEventInterfaceAttribute cannot be found.               C:\Users\winkler\AppData\Local\Temporary Projects\KrausNaimer_CorelX7_WithError\Form1.vb               4             22           KrausNaimer_CorelX7_WithError