Turbo Activate and License Configuration for our app.

Hi,

I have been using the WyUpdate for my product for the past 1 week and it is working perfectly fine. Now, I am trying to integrate the security and license for the product and tried including the TurboActivate dll and dat file in my application.

I have some doubts in the configuration since my existing setup is not working as per the desired output. Please help me in configuring the same so that we would go in for the product.

Current Setup Details.

* Our Product has 11 modules (each module is a dll).* We hava one login screen where we have used the turboactivate.vb class file, turboactivate.dll and turboactivate.exe.* We have created a product, Version and new product key in the portal (http://wyday.com/limelm/dashboard/)* Grace Period: 0, Trial Period: 0* In our login screen, we are able to see the menu of the turbo activate that we have included in the application.

Issues that we are facing now:* Even though, the trial period and grace period is 0, the turbo activation is not validating the grace period and trial period and it is allowing the user to log in to the application . * Thus, without activation, the user is now able to access the application .* How to restrict the application access if there is no proper activation.

Please let us know whether there is other settings that we have to do for this security.

Issues that we are facing now:* Even though, the trial period and grace period is 0, the turbo activation is not validating the grace period and trial period and it is allowing the user to log in to the application .* Thus, without activation, the user is now able to access the application .* How to restrict the application access if there is no proper activation.

Please let us know whether there is other settings that we have to do for this security.

TurboActivate handles all of the licensing details. It's up to you to limit your application based on whether the user has activated or not.

If you open the example VB.NET project you can see an example of limiting your program if the grace period is expired and the user is not activated. Specifically see the "ShowActivateMessage". In the example project the txtMain textbox is enable or disable depending on whether it's activated or not:

    Private Sub ShowActivateMessage(ByVal show As Boolean)        'TODO: disable all the features of the program        Me.txtMain.Enabled = Not show


        'TODO: show the "Activate now" message        Me.lblActivateMessage.Visible = show    End Sub

Obviously you'll expand this for your actual product.

Tell me if this helps.

ya i checked the show activation message it's works fine now but when giving activate from another machine raies the following error.

"A problem occured when application trend to activate.Error code 13."

I tried both checking online and enter product key both method returns following error if my boss changes any changes in dashboard,whether every time we have to download turboactivate.dat file and inculde in appliaction or it doen't need to replace every time changes in dashboard.

Need some instructions for activate and deactivate with the application.

thank you.

ya i checked the show activation message it's works fine now but when giving activate from another machine raies the following error.

"A problem occured when application trend to activate.Error code 13."

We're going to be making the error clearer in the future. Error code 13 means that your boss has tampered with his date / time settings on his computer. Tell him to set his clock to the correct date and time and try again. He may have to restart his computer after setting the correct date and time.

Tell me if this helps.

Sam,

You are right. We have changed the date settings to check and test whether the licensing is working perfect. But now, we have revoked the changes and made the date settings perfect. We have restarted the machine as well many times.

We are encountering the Error 13 during the activation. And few more problems that we have as of now:

1. We have built the application using the X86 dll in the Turbo Activate file. (i dont know whether it is correct)

2. We have tried in windows 7 as well as windows XP machines. We have no issues with the activation part in windows 7. But, in windows XP, we are unable to activate the license even at the first time.

3. We have not succeeded in configuring the license feature (date_update) for that to expire in the given date and time. The application is accepting logins even after the given expiry date and time.(both in windows 7, Windows XP- yet to activate the license)

4. Please suggest where to add the coding of the turboactivate class file. Currently, we have added that in our login screen. (we dont know whether it is correct)

5. We have 11 modules (components) in our application. Every module is a dll and each dll is placed as different buttons in the main screen of the application. Since, we would like to add license to all the modules, please suggest a better option to have the turbo activate class file for having our application more secured and can also activate licenses for desired modules in the application.

I hope you can visualize the application that we have. If required, we would send you screen shots of our application for you to get an idea on how to configure the licensing and activation for our vb.net package.

Awaiting for your valuable response.

thanks,

anand,Vertex

We are encountering the Error 13 during the activation.

Change both the date (Month, day, and year) and time (hour, minutes) so they are set correctly. Then, once your date and time settings have been corrected, restart your computer. Now activating will work correctly.

TurboActivate uses the same methods on Windows 7 and XP, so the problem is with the date and time settings. Also, we've just released TurboActivate 2.9 - this shows a nice error message instead of "error 13".

To sum up: fix your date and time settings first, then restart your computer. Then (and only then) will you be able to activate.

1. We have built the application using the X86 dll in the Turbo Activate file. (i dont know whether it is correct)

Yes x86 will work on both 32-bit and 64-bit versions of Windows. You need to make your app target x86 only (instead of AnyCPU).

This means, go to your project properties, go to the Compile tab, click "Advanced Compile Options..." and change the "Target CPU" to "x86".

[attachment=0]Advanced-Compiler-Settings.png[/attachment]

2. We have tried in windows 7 as well as windows XP machines. We have no issues with the activation part in windows 7. But, in windows XP, we are unable to activate the license even at the first time.

If you're referring to the date & time error, then make sure your date & time settings are correct. If you're referring to the "manual activation" screen being shown instead of the online activation happening immediately, then download TurboActivate 2.9 (this bug was just fixed).

3. We have not succeeded in configuring the license feature (date_update) for that to expire in the given date and time. The application is accepting logins even after the given expiry date and time.(both in windows 7, Windows XP- yet to activate the license)

TurboActivate isn't magic. It doesn't have tentacles that know what features to disable in your app based on license features. TurboActivate controls everything to do with licensing -- it's up to you to disable/enable features based on whether your user has activated or not & the values of license features.

For instance:

        If TurboActivate.IsActivated Then            'TODO: check if modules are licensed        Else            'TODO: disable all features        End If
4. Please suggest where to add the coding of the turboactivate class file. Currently, we have added that in our login screen. (we dont know whether it is correct)

Huh? Just add the TurboActivate.vb file to your project. Then set the GUID value before you make any TurboActivate function calls (e.g. make it one of the first things that runs in your app):

'TODO: goto the version page at LimeLM and paste this GUID hereTurboActivate.VersionGUID = "PASTE GUID HERE"

Then you can use the TurboActivate functions anywhere in your app that you need to.

5. We have 11 modules (components) in our application. Every module is a dll and each dll is placed as different buttons in the main screen of the application. Since, we would like to add license to all the modules, please suggest a better option to have the turbo activate class file for having our application more secured and can also activate licenses for desired modules in the application.

Use license features. Let's say you have a module named "Module1". Add the license feature in LimeLM name "Module1" with a value type of string. When you create new product keys there will be a "Module1" field. Set the value to either "y" or "n".

Now, in your app call TurboActivate.GetFeatureValue("Module1") . This will return the value of "Module1". Then, you can enable "Module1" if the value is "y" and disable Module1 if the value is "n".

If TurboActivate.IsActivated Then    'TODO: check if modules are licensed


    If TurboActivate.GetFeatureValue("Module1") = "y" Then        'TODO: enable Module 1    End IfElse    'TODO: disable all featuresEnd If

Obviously you can make it more flexible - this is just a simple example.

Tell me if this helps.