Imports wyDay.TurboActivate problemSolved

Imports wyDay.TurboActivate

when I try to add a Reference to TurboActivate.dll I get the message:A reference to TurboActivate.dll could not be added. Please make sure the file is accessible, and that it is a valid assembly or com component.

, edited

TurboActivate.dll is not an "assembly". It's a native library. That means you can't add it like that. For using TurboActivate see the articles and the examples: https://wyday.com/limelm/help/using-turboactivate/

Long story short: you need to add the TurboActivate class to your app, which in turn calls the native TurboActivate.dll. This is covered in every single one of our articles (see the article for the programming language you're using).

I have followed your step-by-step instructions in the help file:using-turboactivate-with-vb-dot-net

I executed step 2 "Add TurboActivate to your project"

But, when I get to step 6 to start adding to my code, and I use your example in the file: ...\API\VB.NET\Form1.vbThe line "Imports wyDay.TurboActivate" throws a warning:

"BC40056 - Namespace or type specified in the Imports 'wyDay.TurboActivate' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases."

Did you include TurboActivate.vb to your project? It's the second sentence of the "Step 2. Add TurboActivate to your project" section:

https://wyday.com/limelm/help/using-turboactivate-with-vb-dot-net/#add-ta

Yes, TurboActivate.vb is listed in my Solution Explorer window with all my other project modules.I would include a screen shot, but I don't see a way to attach a file in this forum.

If you're getting that warning then you likely did not add it to your project correctly.

If I were you I'd start by opening the example VB.NET project, play with that, and then once it becomes clearer how everything works, add TurboActivate to your app.

More information is needed to help you. We cannot reproduce what you're seeing by following the instructions.

So, I took your advice and opened the sample project to see how it all works.I downloaded my TurboActivate.dat file and put in my Version GUID, and I get the message:"Failed to check if activated. The product details file TurboActivate.dat failed to load. It's either missing or corrupt."

Again, the article covers this. Put the TurboActivate.dat in the same folder as TurboActivate.dll and TurboActivate.exe. Which should be in your bin/Debug folder (presuming you're making debug builds).

Yes, I followed the instructions in the help article.Step 5: Download TurboActivate.datI already have the file in the bin/Debug folder.Still getting the error message about it failing to load (missing or corrupt).

Are you running the Debug build or the Release build? Put the TurboActivate.dat in both folders.

Did you correctly replace the Version GUID in the example app?

You missed one of those steps. Or both of those steps. If youre still having problems after double checking where you put files and the version GUID youre using, then youll new to copy & paste the constructor code where youve pasted your VersionGUID (so we can actually see if youve done it correctly)

I figured out why the TurboActivate.dat file failed to load.Windows had flagged the file as potentially dangerous, since it came from a download. I had to "unblock" the security flag.