Hi,
based on a VB sample app addin project, shipped with CorelCAD 2014 installation, I added trivial function to test VSTA workflow and successfully compiled the code. DLL library got installed in "My Documents\CorelCAD\AppAddins\CorelCADAddIn\CorelCADAddIn.dll" by included WSH script.
However I can't see any pointers that this addin is loaded in CorelCAD.
I noticed that macro functionality is provided by CorelCADMacros C# project, which is accessible from VSTA manager, but I can't see how to use my addin, nor such scenario is mentioned in CorelCAD help file, or indexed by Google.
Can someone provide more info?
Thanks in advance
Klo
Sorry Klo, I can't help you directly, but if you use CorelCAD support and log the question with Corel, they might me able to answer the question. Also, Klaus is very knowledgeable in this area, and he may already know the answer, but if you need the information quickly, it's worth logging a ticket with Corel.
Corel Support is usually pretty good with those sort of questions and can ask the developers.
Regards
David
Hi Klo,
klo said:I noticed that macro functionality is provided by CorelCADMacros C# project, which is accessible from VSTA manager, but I can't see how to use my addin
Feedback from the developers: The created macros can be used via the VSTA Manager (toolbar / Manage tab in the Ribbon UI workspaces) or via VSTA command.
Loading or executing the commands separately is not possible.
Best regards,Klaus.
Thanks for your replies
Klaus Vossen said:Feedback from the developers: The created macros can be used via the VSTA Manager (toolbar / Manage tab in the Ribbon UI workspaces) or via VSTA command.
Klaus,
I wasn't asking about macros. I already noticed that I can create macro function in default CorelCAD project, which happens to be "CorelCADMacros.csproj" i.e. by appending my function in "AppAddIn.cs" file, which is then available in CorelCAD VSTA manager. That's fine.
I was curious about provided VB.NET project, namely "CorelCADAddInProject.vbproj". Here is screenshot of this project in which I added trivial "Hello()" subroutine:
Project is compiled successfully, and as mentioned distributed as "My Documents\CorelCAD\AppAddins\CorelCADAddIn\CorelCADAddIn.dll", but I can't see how to invoke "Hello()" function in CorelCAD, as it is not available in VSTA Manager toolbar dropdown menu (as functions from CorelCADMacros are).
Regards,