2. The ActiveXObject is only available in an IE Browser...not in a server side code.
3. If you must run an executable, server side, my first choice would be an Extension to ThingWorx that'll wrap the call to that exe file. That Extension will have a service with a parameter like JobID in your case.
Hope it helps!