[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

xabi

1/3/2003 7:12:00 PM

Hello.I'm trying to execute an exe file, like notepad from=20
a WebService, but the problem is that this exe is not=20
visible. Too, I can't kill the process anyway, but is=20
impossible. I must reset the pc =BF?=BF?

The code: Thanks you ;)
--------------------------------------------------
[WebMethod]
public bool ExecutePrg()
{
Process myProcess =3D new Process();
myProcess.StartInfo.FileName =3D "Notepad";
myProcess.StartInfo.WindowStyle =3D=20
ProcessWindowStyle.Maximized;
myProcess.Start();
return true;
}