Warning: Don't use Corel 2019 with VBA.

Guys, on Monday I worked ~ 4 hours to create my first CDR 2019 document with macros. An algorithm ensures, that the document is saved from time to time, those macros should process images from a folder and save the output in a new folder. After the last image had been created, my document with macros had been saved, and I finished my work.
Today I want to use the macros again, opened my document, but there hadn't been any VBA code anymore. The last processed image had been saved with the document, but no VBA-Code is in.
I also did a small test: I created a new document, wrote a small 'Hello World' Sub, where the document gets saved as well. I ran it, closed it and reopened it: No VBA anymore.

If you want to use VBA, avoid Corel 2019!

Parents
No Data
Reply
  • This would not be so bad I think if at least the VBA documet events work... 

    Did you try this aspect, too?

    I mean Document_QueryClose, PageActivate, ShapeChange etc... I do not have 2019 installed in order to test that.

    Maybe it's a higher level of security. Theoretically you can make a virus besides the code doing something. In a .gms file you firstly must put it in a special path in order to run... A .cdr document it is necessary only to open it.

Children