I've tried almost everything, so this is the last resort. I really do hope someone might be able to help me.
I have a web page (ASP.NET). In here I have a button. When the user clicks the button a bat file needs to execute on the client machine. The bat file will contain a link to a .aut file.
I've tried the System.Diagnostics.Process, but this executes the file on the server and also under the NETWORK SERVICE account. Thus the user never see what's happening because it's not happening on his/her machine.
Can anybody please either give me advice on how to accomplish this or direct me to a article that can explain this. I've been searching for 8 hours now and just cant find anything workable.
Thank you soooo much for your solution. It works, but only partialy. It does not run when I call it from an aspx page, but if I create an html page it runs, but only if I run it directly from the saved location.
When I deploy it into IIS and browse to the file, nothing happens. It's almost as if IIS is blocking this.
This will also explain why nothing is happening in the aspx page.
Using C# does anyone know how to build a list of Dynamic HTML links going down the page?
at the moment i'm using link buttons,but this is not very friendly when viewing the page on a mobile phone browser..Thanx in advance.
DataTable dtSite = GetSiteList(intTechId);
int i = 0;
foreach (DataRow row in dtSite.Rows)
strLink = getSiteName(Convert.ToInt32(row["SiteID"].ToString()));
TableRow tr = new TableRow();
TableCell tcLinkButton = new TableCell();
LinkButton linkButton = new LinkButton();
linkButton.ID = row["SiteID"].ToString();
linkButton.Text = strLink;
linkButton.Command += new CommandEventHandler(OnLinkClick);
linkButton.CommandName = row["SiteID"].ToString();
linkButton.CommandArgument = row["SiteID"].ToString();