MBS Plugin Documentation

Search:

Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchie

New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0

The list of the   themes,   classes,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

MBSPluginCompileDate as string
global method, Registration, MBS Main Plugin (PluginVersion), Console safe, Plugin version: 6.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Compilation date of the plugins.
Example:
MsgBox MBSPluginCompileDate

Notes:
e.g. "Aug 27 2006"
Actually the compilation date of the Version Plugin part which defines this function.
MBSPluginCompileTime as string
global method, Registration, MBS Main Plugin (PluginVersion), Console safe, Plugin version: 6.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Compilation Time of the plugins.
Example:
MsgBox MBSPluginCompileTime

Notes:
e.g. "19:40:16"
Actually the compilation date of the Version Plugin part which defines this function.
MBSPluginVersion as string
global method, Registration, MBS Main Plugin (PluginVersion), Console safe, Plugin version: 3.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Returns a version string from the plugin.
Notes: You can show that in your about box so your users can tell you which plugin they use.
RegisterMBSPlugin(name as string, product as string, enddate as integer, serial as integer) as boolean
global method, Registration, MBS Main Plugin (Registration), Console safe, Plugin version: 6.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The function to register the plugins.
Example:
const name="Joe Smith"
const serialnumber=123456789

if not RegisterMBSPlugin(name,"MBS2007", 200710, 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 Realbasic 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 Realbasic folder.

This function works only for 2007 serial numbers.
RegisterMBSPlugin(name as string, product as string, serial as integer) as boolean
global method, Registration, MBS Main Plugin (Registration), Console safe, Plugin version: 3.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The function to register the plugins.
Example:
const name="Joe Smith"
const serialnumber=123456789

if not RegisterMBSPlugin(name,"MBS2003", 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 Realbasic 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 Realbasic folder.

Next items

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