Extradata offline activation from vb.net

i can activate it offline but it doesnt set the extradata, but in online activation it does. How i can fix that?

the main problem is that im sending 2 parameters at same time, extradata and translation, how i can achieve send both and work both

Like this:

TurboActivate.exe "C:\Location\To\YourTranslation.xml" --extradata="Bob's-PC"

i cant make it work, i have already working the extradata but not both at same timei really need help im not working with console, im working with process in vb.net

here is my code TAProcess.StartInfo.Arguments = ("D:\es-MX.xml" "--extradata=" & machineName)this works fine TAProcess.StartInfo.Arguments = ("--extradata=" & machineName)but if i add the translation it just dont work, neither of both, just show me an error saying the language is corrupt or not existent

I'm surprised that even compiles:

TAProcess.StartInfo.Arguments = ("D:\es-MX.xml" "--extradata=" & machineName)

You're not properly quoting the filename, and you're not quoting the machine name. Do that. First run TurboActivate.exe from the commandline to see how it works when you pass things correctly.

this works perfectlyTAProcess.StartInfo.Arguments = ("--extradata=" & machineName)

when i run activation it sets correctly the information for extradata so i dont know why you say to me im not quoting correclty this. I just need some help adding the language translation

btw, machineName is a string variable im using to get the machine name by machineName = Environment.MachineName

Your code didn't compile. This does:

TAProcess.StartInfo.Arguments = ("""D:\es-MX.xml"" --extradata=""" & Environment.MachineName & """")

Notice the quotes.

i have found the solution adnd by the way my code works and works perfect

this is my solution Dim machineName As String machineName = Environment.MachineName TAProcess.StartInfo.Arguments = ("es-MX.xml") & ("--extradata=" & machineName) TAProcess.Start()

why you say to me my code doesnt compile? its working and flawlesy

i have done the machineName as a variable becuse i use it on other parts of my software so i just call the name and it gets it thats why