You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, January 20th 2013, 11:26am

need help

iam using krpanotools- [i think last release] .
but i need to control MAKE PANO (NORMAL) droplet.bat dynamically [from javascript or]
so i need to call the .bat file and send image name as parameter .
is this possible or supported and how please ?
how ever i tried to call the .bat file from like below code :
System.Diagnostics.Process process = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.FileName = Server.MapPath("~/MAKE PANO (NORMAL) droplet.bat"); // @"C:\Users\Administrator\Desktop\test.bat";
string arg1 = "pano1.jpg";
startInfo.Arguments = arg1;
startInfo.UseShellExecute = false;
process.StartInfo = startInfo;

please help me with previous code or even javascript code
best regards