Home Forums General Installation & other Where do I place the licensekey info in VB.NET VS 2008?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #43452 |

    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?

     

    Imported from legacy forums. Posted by Rob (had 4255 views)

    Xceed Support
    Member
    Post count: 5658

    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

    Imported from legacy forums. Posted by CharlesB (had 6506 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.