OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26-08-2010, 07:58
obrienw
Guest
 
Posts: n/a
Default Options for integrating .Net and CorelDRAW

I've been searching around on integrating .Net and CorelDRAW for awhile and didn't know if someone could clear up a few basic issues up for me.

Ideally, I'd like to make a C#/.Net program that would function (as far as users are concerned) exactly like a VBA macro -- toolbar button that launches a form, does some work on the open document, and then can be closed. Is anything like that possible?

Also, I'm also not entirely certain what an "add-on" is -- is that the way to go? I've looked over the Table-Styling-Docker on the Corel website, but that doesn't explain how to launch code from a .dll. Is there some way of using AppUI.xslt file to launch code in a dll instead?

As a workaround, I know I can make a separate program altogether that references an existing CorelDRAW instance, but that's not quite what users are used to.

I'm comfortable with c#/.Net and the Corel object model (through VBA), but I can't figure out how to make them work together.

Thank you.
Reply With Quote
  #2  
Old 26-08-2010, 16:48
jemmyell jemmyell is offline
Senior Member
 
Join Date: Jan 2005
Location: Orange County, California, USA, Earth, Solar System, Milky Way Galaxy
Posts: 157
Default try a plugin

Hi,

You can write a plugin (C++) that would only be used to call the C# app. I do this with my products which are hybrids. A plugin puts a button on the toolbar then calls a DLL that does most of the work.

I have sample projects posted here:

http://www.leonardcncsoftware.com/phpBB3/

See "C++ programming fro CorelDRAW"

-James Leonard
__________________
-James Leonard
CNC Inlay Guy - www.CorelDRAWCadCam.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
integrating coreltrace 12 with x4 runflacruiser CorelDRAW/Corel DESIGNER VBA 0 15-12-2009 10:29
Accessing all SVG export options IRDC CorelDRAW/Corel DESIGNER VBA 0 12-10-2009 03:24
Missing Vba coding options knowbodynow CorelDRAW/Corel DESIGNER VBA 2 04-04-2009 08:33
Options when pasting text knowbodynow General 2 08-12-2007 08:17
integrating VC++ with draw sejal01 CorelDRAW/Corel DESIGNER VBA 1 21-02-2005 11:55


All times are GMT -5. The time now is 12:35.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com