How can I make a task shower that only shows the only opened tasks, not the processes, but the opened tasks, although, a process shower would be nice to, please respond soon?
Thanks in advanceHow can I make task shower in VB 2008?
Dim procList() As Process = Process.GetProcesses()
Dim quantity As Integer = 0
Dim i As Integer
Dim processinfo As String = ';Processes Running: ';
For Each Process In procList
quantity = quantity + 1
Next
For i = 0 To quantity - 1 Step i + 1
Dim strProcName As String = procList(i).ProcessName
Dim iProcID As Integer = procList(i).Id
processinfo = processinfo %26amp; vbNewLine %26amp; procList(i).ProcessName
Next
Textbox1.text = processinfo
Double click on a button, and insert the above code in it. Also, make a textbox1 (multiline, and read only)
No comments:
Post a Comment