Post[Help]Processes[Solved]

Posts 1–10 of 10 · Page 1 of 1
[Help]Processes[Solved]
hi.
[PHP]For Each process In process.GetProcesses(My.Computer.Name)
ListBox2.Items.Add(process.ProcessName)
Next[/PHP]
why is process underlined? + can you tell me how to add running processes to list box (one per line)
thank you
dim process as process

You still don't get the basics, before asking you may try to read the error.
@Blubb: There's no problem with using even process as variable name. VB is not a sicko language. It can distinguish between classes.

@m_t_h:

Here's the code ya need:

Code:
 For Each process As Process In Diagnostics.Process.GetProcesses
            MsgBox(process.MainWindowTitle)
        Next
No need to explain, coz u won't read it !!
Well ik, but my point was the declaration. You can sure do it both ways

When you C&P something, make sure you c&p the declarations..
Quote Originally Posted by Blubb1337 View Post
Well ik, but my point was the declaration. You can sure do it both ways

When you C&P something, make sure you c&p the declarations..
Yup ...

And OMG OMG ! He is a minion. Congratz mth
Quote Originally Posted by Hassan View Post
He is a minion. Congratz mth
thank you dude /me
He made minion? My gawd.
Quote Originally Posted by Jason View Post
He made minion? My gawd.
thehehe anyway already done so this should be closed
Sure thing.
Even at request, only un-useful threads will be closed.

Others may have this issue and if it is closed it is less likey to be opened, and we will get a new thread for the same issue, Marked solved Do not post in this thread unless < 7 days or necessary.
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us