Hello,
We are using Infopath 2007 with Visual studio 2005 add-on for office. When the infopath form model is ready, we publish it in the infopath form server of sharepoint 2007 and an approbation of an administrator is requied to activate the model (because it contain managed code). The problem is : when inserting managed asp.net code in the infopath "InternalStartup" event of the "formcode.Vb" file of the infopath model, the sharepoint server make some validations on the model (at the upload) and said that there is an error. Inserting the same code on a button work without problem. Is there another way to execute some managed code every time the forms open when using it in the infopath form server of sharepoint 2007?
Thank you for your help.
Mark