Hello All,
I programmed some c# macros, i would like to use them on a other computer also running the same corel version. When i import them there i get an error from windows sdk. Does anyone know what is needed to use vsta macros on computers without a full visual studio version? I do not have to edit them only run.
thanks in advance,
Tom
I can be wrong, but in my opinion, macros differ from programs in that they are not compiled and have the ability to edit code. Without the VBA or VSTA installed, you are unlikely to run any macro. If you need to protect your macro from being modified, then there are other ways to do this.
Can you share such a way to protect a macro...?
If this is not for everybody I will be grateful to receive an idea by mail. Im my profile a have the personal mail account.
Theoretically I know about the Unviewable Project but I never succeded to obtain such a project... :-)
Without that I'm afraid anything can really protect it...
Thanks in advance!
It is not my intention to protect my macro, the opposite is even true i would be happy if the macros can be used by all users. My problem is that it does not run, and i do not know what i should install to let it run on the other pc. Without installing payed software besides coreldraw of course ;-)
Sorry, I can not share such information. I managed to hack and figure out how the "project is unviewable" works, and now I protect my macros in the same way. Although this is also not very reliable protection
You can write a compiled .exe file in C #, which will not depend on VSTA or VBA. Try to create a CorelDraw.Application object, and then nothing complicated. I similarly run Excel from the CorelDraw macro and get data from sheets