Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Where do I place the licensekey info in VB.NET VS 2008?

Sort Posts: Previous Next
  •  05-05-2008, 5:45 PM Post no. 11998

    Where do I place the licensekey info in VB.NET VS 2008?

    I can't seem to get past the licensekey error when I try to run my project/solution in VS 2008 using VB.

    I've tried entering the following:

    Xceed.Editors.Licenser.LicenseKey = "mykey"

    Xceed.Chart.Licenser.LicenseKey = "myotherkey"

     IN:

    Sub New
    Load
    HandleCreated

    None of these work -- I'm not using a Sub Main, I'm using a Startup Form.  Any suggestions/hints where I'm supposed to place my license key values in code?



     

  •  05-07-2008, 3:40 PM Post no. 12050 in reply to 11998

    Re: Where do I place the licensekey info in VB.NET VS 2008?

    Which product(s) are you using exactly? In VB.NET, you can override the OnStartup method and insert your license there.

     

    Partial Public Class App
       Inherits System.Windows.Application

       Protected Overrides Sub OnStartup( ByVal e As StartupEventArgs )
          Xceed.Editors.Licenser.LicenseKey = "EDN24-XXXXX-XXXXX-XXXX"
          MyBase.OnStartup( e )
       End Sub

    End Class


    Charles Bérubé-Rémillard
    Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.