D
Daniel
hi all,
im hosting an infopath form in a .NET windows app.
and im having trouble re-openning a form once i close it the code is pretty
simple:
formControl1.NewFromFormTemplate("C:\\MonitorDirectory\\MyTemplate.xsn");
formControl1.XmlForm.Close();
formControl1.NewFromFormTemplate("C:\\MonitorDirectory\\MyTemplate.xsn");
formControl1.XmlForm.Close();
the form open fine the first time, but when i open the same form again
it says:
infoPath cannot create a blank new form. infoPath cannot open the form
because another version of the form template is currently open.
if i open "someform.xsn" and close it,
and then open "someotherform.xsn" it works.
then if i open "someform.xsn" again it'll say that another version is
already open
basically i can open each template only once.
any help is appreciated
im hosting an infopath form in a .NET windows app.
and im having trouble re-openning a form once i close it the code is pretty
simple:
formControl1.NewFromFormTemplate("C:\\MonitorDirectory\\MyTemplate.xsn");
formControl1.XmlForm.Close();
formControl1.NewFromFormTemplate("C:\\MonitorDirectory\\MyTemplate.xsn");
formControl1.XmlForm.Close();
the form open fine the first time, but when i open the same form again
it says:
infoPath cannot create a blank new form. infoPath cannot open the form
because another version of the form template is currently open.
if i open "someform.xsn" and close it,
and then open "someotherform.xsn" it works.
then if i open "someform.xsn" again it'll say that another version is
already open
basically i can open each template only once.
any help is appreciated