![]() |
#1
|
|||
|
|||
![]()
Interesting bugs in automation CorelDraw X7 + VS2010
First bug: This code (vb.net) gives an error: Code:
Dim cdrapp As New VGCore.Application Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Try cdrapp.ActiveShape.Outline.Justification = VGCore.cdrOutlineJustification.cdrOutlineJustificationOutside Catch ex As Exception MessageBox.Show(ex.Message) End Try End Sub Code:
Public Sub test() ActiveShape.Outline.Justification = cdrOutlineJustificationOutside End Sub This code (vb.net) gives an error: Code:
Dim cdrapp As New VGCore.Application Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Try cdrApp.FrameWork.Automation.InvokeItem("13f1794d-bf6b-455a-969c-47f80bd6b912") 'select master shape for clones Catch ex As Exception MessageBox.Show(ex.Message) End Try End Sub Code:
Public Sub test() Application.FrameWork.Automation.InvokeItem ("13f1794d-bf6b-455a-969c-47f80bd6b912")'select master shape for clones End Sub |
#3
|
|||
|
|||
![]()
For Justification - Error:
"Attempt to read or write Protected Memory. This is often an indicating that other memory is corrupt" For Automation.InvokeItem - Error: "The stub received bad data. (Exception from HRESULT: 0x800706F7)" Last edited by AVP; 06-05-2014 at 14:16. |
#4
|
|||
|
|||
![]()
Has anyone figured this out? I am hitting the same issue. It seems to be the same in CorelDraw 2018 also.
Anyone have any ideas??? |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create X5 Addin with VS2010 C# | lebaron | CorelDRAW/Corel DESIGNER VBA | 2 | 28-11-2011 05:29 |
CorelDraw COM Automation "Undo" command | bkurt | General | 2 | 06-12-2010 17:36 |
2 bugs | wOxxOm | General | 0 | 28-05-2005 15:08 |
Some bugs | Lev | SecuriDesign | 2 | 12-02-2004 07:17 |