A frequent question from InfoPath users is “How can I pass parameters to a new InfoPath form when it is created?” Unfortunately, there’s no built-in functionality for passing command-line parameters to infopath.exe. BUT, that doesn’t mean it can’t be done J Note that the solution below requires the InfoPath SP-1 Preview. Solution: Jscript files can instantiate InfoPath with a new form from a template using NewFromSolution(). Jscript can also access the InfoPath DOM and...