Hi,
I am developing a webpatr that would open a certain infpath template; I used
the following code:
\\==========
System.Diagnostics.Process infopathprocess = new
System.Diagnostics.Process();
infopathprocess.StartInfo.Arguments = "c:\\ProjectServer2.xsn";
infopathprocess.StartInfo.FileName = "INFOPATH.EXE";
infopathprocess.StartInfo.CreateNoWindow = false;
infopathprocess.StartInfo.WindowStyle =
System.Diagnostics.ProcessWindowStyle.Normal;
infopathprocess.Start();
\\===========
The problem is that INFOPATH.EXE opens in the backgroud process in the Task
Manager! the infopath form itself is not opening.
Can you help me solving this problem,
Thanks
Agnihotram - 04 Apr 2007 16:56 GMT
infopathprocess.StartInfo.CreateNoWindow = false;
Try setting the above value to true.

Signature
Agnihotram Jonnalagadda
http://www.ggktech.com
> Hi,
> I am developing a webpatr that would open a certain infpath template; I used
[quoted text clipped - 15 lines]
> Can you help me solving this problem,
> Thanks
Michel Bechelani - 18 Apr 2007 19:50 GMT
If what you want to do is open an infopath webform inside a webpart I
recommend you read the following:
http://msdn2.microsoft.com/en-us/library/ms778201.aspx
This document shows how to open an infopath form inside an ASPX page, you
only need to apply the XmlFormView Control in a webpart instead of an ASPX
page and everything sshould work fine.
> Hi,
> I am developing a webpatr that would open a certain infpath template; I
[quoted text clipped - 17 lines]
> Can you help me solving this problem,
> Thanks