vipin.sasi

vipin.sasi

  • NA
  • 69
  • 0

How to find ProcessName

Oct 28 2003 7:29 AM
Hi All, How to find Process name..? Herez my sample code...Please guide me... System.Diagnostics.Process P=new Process(); P.StartInfo.FileName = StrFileName.ToString(); P.StartInfo.CreateNoWindow = true; P.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; P.StartInfo.Verb = "print"; P.Start(); //--------------------------- string SS=P.ProcessName.ToString();----Not Working---- //------------------------- P.Dispose(); As per documentation ProcessName is to Get/Set ProcessName.I did try butnot succeded.Any help would be highly appreciated. Thanks and Regards, V

Answers (5)