Hi,
I have written the code in infopath 2007 form (managed code) to open the new form on click of a button.
XMLForm formObj = this.Application.XMLForms.NewFromFormTemplate(string formtemplatelocation)
This code works fine when i preview the main form and click the button but fails when i open the form from site.
Error:-
InfoPath cannot ...