Hi! Merry Christmas to everyone. Sorry for this noob question but I can't get it work well I was trying to send all process name to my server but I'm unable to receive all the process name. Is there a way I could store all process list into one variable and send it to the server and on the server I could extract all process name and put it on the listbox.
Code:
Private Sub GetAllProcessList()
Dim myProcesses() As Process ' ARRAY OF PROCESSES
Dim myProcess As Process ' SINGLE PROCESS VARIABLE
myProcesses = Process.GetProcesses() ' LIST ALL RUNNING PROCESS
' ITERATE THRU PROCESS ARRAY
For Each myProcess In myProcesses Me.client.Send("PROCESSLIST|" & myProcess.ProcessName & "|") Next
End Sub