I'm trying to write a program to check the status of a process (specified by its process-id), ie, the process is presently running or not.
Can you pls give me some idea to solve it?
Thanks in advance.
I'm not sure if you're using *nix or MS Windows or etc, but I'll just assume you're using Windows. The Microsoft website, http://microsoft.com, has mucho information and documentation, it even has tutorials for the development of and with Windows. Here is a link to the process section that might accommodate your specific needs: http://msdn2.microsoft.com/en-us/library/ms684841.aspx
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...