What is "CheckLicenseFile (objectId)" ?

jemmyjemmy Member Posts: 247
Folks,

Anyone could tell me what is the actually done on below Visual Basic code:
CheckLicenseFile is one of the methods in CFront OLE Control Module.
CheckLicenseFile (objectId)

And what is the type of objectId?

I'm certainly not an expert on any of this stuff. :(

HTH,

Jemmy

Comments

  • lakshmivallurulakshmivalluru Member Posts: 168
    CHECKLICENSEFILE (Database)
    Use this function to check a key in the license file of the system.

    CHECKLICENSEFILE(KeyNumber)
    KeyNumber

    Data type: integer

    The number of the key you want to check.

    Comments
    The system's license file turns on or off different system capabilities. Use this function to check a key in that file for the current user. If the user has no access rights to the object in question, the system displays a message and terminates the process.

    If you omit this function, the user will have the ability to continue regardless of whether he or she has the appropriate license file or not.
    LR
  • jemmyjemmy Member Posts: 247
    hello laksmhi,

    Thank you for the response.
    how do we know the keynumber?

    In page#3-12 Integration Tools for Navision Attain Training Material, I found CFRONT.CheckLicenseFile (9110)

    What is 9110? is it object ID or granule ID or else?
    If the user has no access rights to the object in question, the system displays a message and terminates the process.

    I don't have any object with ID = 9110, but the program didn't terminate like your explanations...
    :roll:


    HTH,
Sign In or Register to comment.