Hi Rafael
> How I can run an external executable that must run in the server side from
> the client browser.
>
> This executable has some parameters.
as you perceived, you can only run an executable on the server site.
you can use the client side to receive the kind of executables and also the
parameters.
To run an executable on the server side, hav a look to the Process Class.
- http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.aspx
but be carefully with this, keep in mind that client side input allways is
(or can be) evil!
for example use an switch / Select Cast Statement to filter the input and
except any
evil input for execute something unexpected :-)

Signature
Gruss, Peter Bucher
Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET
Rafael tejera - 20 Jul 2007 16:19 GMT
Thank you, but diagnostics.process it is for c# windows form and not for
webform.
I'm searching for the equivalent of this in asp.net
Rafael Tejera
> Hi Rafael
>
[quoted text clipped - 14 lines]
> except any
> evil input for execute something unexpected :-)
Peter Bucher [MVP] - 20 Jul 2007 16:27 GMT
Hi Rafael
> Thank you, but diagnostics.process it is for c# windows form and not for
> webform.
No, it is also for webforms, but only for server side execution.

Signature
Gruss, Peter Bucher
Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET
Mark Rae [MVP] - 20 Jul 2007 16:36 GMT
> Thank you, but diagnostics.process it is for c# windows form and not for
> webform.
Not true.
> I'm searching for the equivalent of this in asp.net
protected void Page_Load(object sender, EventArgs e)
{
using (Process MyProcess = new Process())
{
MyProcess.StartInfo = new ProcessStartInfo("........");
MyProcess.Start();
}
}

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
see the system.diagnostics.process class
-- bruce (sqlwork.com)
> How I can run an external executable that must run in the server side from
> the client browser.
[quoted text clipped - 4 lines]
>
> Rafael