Platforms to show: All Mac Windows Linux Cross-Platform

RegisterMBSPlugin(name as string, product as string, enddate as Integer, serial as Integer) as boolean
Type Topic Version
global method Registration 6.5
Function: The function to register the plugins.
Example:
const name = "Joe Smith"
const serialnumber = 123456789
const enddate = 200710

if not RegisterMBSPlugin(name,"MBS2007", enddate, serialnumber) then
msgBox "something wrong with the serial number of the plugins!"
end if
Notes:
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 window.open event and use the plugin for a control.)
- You mix different plugin versions in your Xojo folder.

This function works only for 2007 and newer serial numbers.

See also:

Feedback, Comments & Corrections

RegisterMBSPlugin(name as string, product as string, enddate as Integer, serial as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Registration MBS Main Plugin 15.4 Yes Yes Yes Yes No
Function: The function to register the plugins.
Example:
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
Notes:
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 window.open 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.

See also:

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo PDF Plugins