Site Search:
Sign in | Join | Help
4Penny.net

ComponentArt

February 2008 - Posts

  • Licensing

    This is a small piece of code that I got in response to a request on the CA fourm. I'm posting it here so that I can find it more easily when I need it.

     The issue is that when I open an older site to edit it, sometimes the ComponentArt dll gets updated. Then, the client will call sometime later and complain about the licensing 'nag' screen.

     This code will do something if the menu is not properly licensed

     if not menu1.islicensed() then
    
    
         'do something
    
    
        menu1.visible = false
    
    
    end if