Start process in maximized mode...under sqlServer host..?

Hi,

Although, this question could be more related to C# forum.. but I thought to post here .. as I am doing some stuff with SQLCLR too.... this forum seems very live too..

When I start a process from a managed stored procedure.. the process run under the same account.. sqlserver.exe is running..(as the host)

I am usingProcessWindowStyle.Maximized.. but still process runs hidden.. only can bee seen from Task manager's process list ..

System.Diagnostics.Process oProcess =newProcess();

oProcess.StartInfo.FileName = @"C:\Program Files\DAP\dap.exe";

oProcess.StartInfo.Arguments ="";

oProcess.StartInfo.UseShellExecute =true;

oProcess.StartInfo.RedirectStandardOutput =false;

oProcess.StartInfo.WindowStyle =ProcessWindowStyle.Maximized;

oProcess.StartInfo.CreateNoWindow =false;

oProcess.Start();

Is there some way to run it maximized .?

Thanks,

[1652 byte] By [Muna] at [2007-12-22]