Extradata from vb.net

i have a question, im trying to set extradata in activation, but dont find the way. Im activating by wizzard. using this code: Dim TAProcess As New Process TAProcess.StartInfo.FileName = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "TurboActivate.exe") TAProcess.EnableRaisingEvents = True

AddHandler TAProcess.Exited, New EventHandler(AddressOf p_Exited) TAProcess.Start()

how i can set the extradata? if i use this:TurboActivate.Activate("Test data")it gives me an error Throw New InvalidProductKeyException()how i can solve that?

We cover this pretty well in our "Extra activation data" article. If you're using the TurboActivate wizard then you need to pass the extra activation data as an argument:

TurboActivate.exe --extradata="Here's some extra data"
if i use this:TurboActivate.Activate("Test data")it gives me an error Throw New InvalidProductKeyException()how i can solve that?

If you're using the TurboActivate wizard then you don't need to call Activate() from your app. But if you want to, then that exception tells you exactly what is wrong:

The product key is invalid or there's no product key.

In other words, you need to set a product key before you can activate (did you call CheckAndSavePKey()?)

but how i can set the paramenter in the code im using? i dont find a way

TAProcess.StartInfo.FileName = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "TurboActivate.exe") how i can pass the data as argument here?

ok i got it! TAProcess.StartInfo.Arguments = ("--extradata=""test")thats just all! it was a lil pain to get the idea but i got it thank you