S
Serdar C.
hi again.. i wrote a webservice like this:
[WebMethod]
public void DrawPlot()
{
System.Diagnostics.Process R = new System.Diagnostics.Process();
R.StartInfo.FileName = "plot.vbs";
R.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
R.StartInfo.CreateNoWindow = true;
R.Start();
//R.WaitForExit();
}
which has to run the "plot.vbs" command when the service runs..
but i cant make it run.. i get a "this page cannot be displayed" error when
i run that method. what am i doin wrong? is there something that i need to
add into web.config or something elsE?
thanx for your time and helping..
[WebMethod]
public void DrawPlot()
{
System.Diagnostics.Process R = new System.Diagnostics.Process();
R.StartInfo.FileName = "plot.vbs";
R.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
R.StartInfo.CreateNoWindow = true;
R.Start();
//R.WaitForExit();
}
which has to run the "plot.vbs" command when the service runs..
but i cant make it run.. i get a "this page cannot be displayed" error when
i run that method. what am i doin wrong? is there something that i need to
add into web.config or something elsE?
thanx for your time and helping..