We're really excited on the CorelDRAW Product and Development teams to launch the first real CorelDRAW Software Development Kit (SDK) and Developer Documentation. We know many independent developers have created great extensions for CorelDRAW / Corel DESIGNER / Corel PHOTO-PAINT by using the set of APIs available with the product and tools such as Visual Basic for Applications or Visual Studio. We also wanted to provide more documentation, samples and tutorials for anyone who wants to create macros or add-ons for the CorelDRAW family of products, reason for the introduction of the new Developer Area in the CorelDRAW Community.
In addition to access to the developer related forums, we're also making available a full API reference, an online programming guide as well as detailed articles to get developers build great solutions for CorelDRAW Graphics Suite and CorelDRAW Technical Suite. Plus, if you join the Developer Area (it's free, just click on the link at the top and let us know what you are or plan to develop for CorelDRAW), you will be able to participate in the Developer forums to share your insights and ask questions. In addition, the full API references becomes searchable for those who join, e.g. you can quickly access the relevant documentation as you code.
In the coming weeks, we will also be making available licenses of the CorelDRAW software at a reduced price for development purpose only, to enable everyone to create amazing new extensions for Corel's Graphics programs used by over 10M users around the world.
We would love to hear your feedback and comments about the Developer Area. Let us know what you think by replying to this thread.
Gérard
Yes, this was the meaning of my first question...
Another issue I would like to clarify: When a document is open, using VBA, in 2020, its name is shown with a "*" character at the end. VBA is able to escape it when checks the document name but, when document is active things go wrong. If you try:
1
AppActivate Application.AppWindow.Caption, False
then, Corel crushes. Without error message. Because of the last "*" character. Now I use the next workaround, when my application is designed to work on multiple versions:
1 2 3 4 5
If Application.VersionMajor = 22 Then AppActivate Left(Application.AppWindow.Caption, Len(Application.AppWindow.Caption) - 1), False Else AppActivate Application.AppWindow.Caption, False End If
End If
Is it a kind of security issue and Corel introduced something similar to Microsoft Trusted Locations, where the safe path to be loaded? If yes, where this setting can be found? If not, which to be the meaning of this new "facility"?
The API reference for CorelDRAW 2020 and Corel PHOTO-PAINT 2020 is now live.