You are not logged in.

Dear visitor, welcome to krpano.com 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.

1

Sunday, January 20th 2013, 11:26am

need help

Hello,
iam using krpanotools-1.0.8.15-win-2012-10-05 [i think last release] .
but i need to control MAKE PANO (NORMAL) droplet.bat dynamically [from javascript or asp.net]
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 asp.net 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;
process.Start();


please help me with previous asp.net code or even javascript code
best regards