Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do I remove the "unlicensed trial version" message on a TMS Web Core project?

When creating a TMS Web Core Delphi Project and running it, I get the following popup message:

Application created with an unlicensed trial version of software

Delphi TMS Web Core - Application created with an unlicensed trial version of software

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Is there a way to remove this message to make testing a bit easier?

I tried looking for a place to remove the message, but couldn’t find it. I also tried looking into the C:\Users\User\Local\AppData\tmssoftware\trial folder for licensing files, but could not find the licensing files.

Is it possible to remove this for testing purposes without needing to buy TMS Web Core?

>Solution :

Firstly, if you’re using TMS Web Core for creating anything commercially, then I would recommend buying TMS Web Core instead of removing the "Application created with an unlicensed trial version of software" message.

But for educational reasons, here’s how you could remove it.


TMS Web Core simply compiles all of your Delphi (Pascal) code down to normal HTML, CSS, and JavaScript.

In your project’s folder, you’ll see a different folder named TMSWeb. All of your output files are in there. Find the main .js file in there. The main .js file will have the same name as your Delphi project.

Somewhere in that file is the following lines of code:

this.TriggerNotification = function () {
  if (this.FNotifyCount === 0) {
    alert('Application created with an unlicensed trial version of software');
  };
  this.FNotifyCount += 1;
};

You can simply delete (remove) the following line:

alert('Application created with an unlicensed trial version of software');

And then the trial message won’t appear.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading