I am calling one process named wiaacmgr.exe for scanning an image.
now I want to call an event named "test" when this scanning of file is completed.
In test i have a code that renames the scanned file.
So how can i do this. Please help me.
This is my code which I have written to call my process.
objpro.StartInfo.FileName = Server.MapPath("..\\scan\\wiaacmgr.exe");
objpro.EnableRaisingEvents = true;
objpro.Start();
objpro.Exited += new EventHandler(test_exit);
objpro.WaitForExit();