Platforms to show: All Mac Windows Linux Cross-Platform

RegisterMBSPlugin(name as string, product as string, enddate as Integer, serial as string) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Registration MBS Main Plugin 15.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The function to register the plugins.
const name = "Joe Smith"
const serialnumber = "123456"
const enddate = 200710

if not RegisterMBSPlugin(name, "MBS Complete", enddate, serialnumber) then
msgBox "something wrong with the serial number of the plugins!"
end if
Returns true if name and serial number is accepted.

While you are running your project in Xojo (or Xojo) you don't need to register, but if you compile for any target, you should or nice popup windows will show that the app is not registered.

Register in an application subclass to make registering as early as possible.

In case you get this message: "RegisterMBSPlugin()', giving the message "This
item conflicts with another item of the same name" you have something else in your plugins folder, e.g. a html file.

Possible reasons for this failing:
- The calculations you make on the strings or serial number do not create the same value on every machine (Intel vs. PPC, e.g. endian problems)
- You use MBS functions before calling registration function (e.g. you register in event and use the plugin for a control.)
- You mix different plugin versions in your Xojo folder.

This function works only for 2015 and newer serial numbers.

Some FAQ entries about this method:

The items on this page are in the following plugins: MBS Main Plugin.

Feedback: Report problem or ask question.

The biggest plugin in space...

Start Chat