I'm using the following VB.NET code to call cmdlineprocessor.exe from a web page and validate an HTML file. This works fine, but it stops processing after 20 errors and shows a message saying "This is an unregistered, evaluation version of CSE HTML Validator Professional...". I'm running this on a computer with fully a licensed version of CSE HTML Validator Pro v9.0302.
- Code: Select all
Dim p As Process = New Process()
p.StartInfo.UseShellExecute = False
p.StartInfo.RedirectStandardOutput = True
p.StartInfo.FileName = "C:\Program Files\HTMLValidator90\cmdlineprocessor.exe"
p.StartInfo.Arguments = "-v0 -x1 -veofile C:\BatchFiles\ValidatorEngineOptionsJLC.veo C:\ResultsFolder\HtmlFileToValidate.txt"
p.StartInfo.WorkingDirectory = "C:\Program Files\HTMLValidator90\"
p.Start()
p.WaitForExit()
p.Close()
I've tried impersonating the user account for which I installed the licensed software but the problem persists. When I run the same command directly from the command prompt it works fine: it validates all the errors (max number of errors is set to 999 in the VEO file) and runs as a licensed version.
Is there a registry setting I need to check, or something else I need to do to get this to work?
Many thanks.



