Click here to Skip to main content
15,889,867 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: file open Pin
Ahmed El-Badry7-Feb-07 23:03
Ahmed El-Badry7-Feb-07 23:03 
GeneralRe: file open Pin
Krish - KP8-Feb-07 0:18
Krish - KP8-Feb-07 0:18 
GeneralRe: file open Pin
Ahmed El-Badry8-Feb-07 2:46
Ahmed El-Badry8-Feb-07 2:46 
Questionremoting problem Pin
softkarthi7-Feb-07 18:56
softkarthi7-Feb-07 18:56 
QuestionKilling processes with listview (.net 2003) Pin
A*****7-Feb-07 13:20
A*****7-Feb-07 13:20 
AnswerRe: Killing processes with listview (.net 2003) Pin
xstoneheartx7-Feb-07 13:44
xstoneheartx7-Feb-07 13:44 
AnswerRe: Killing processes with listview (.net 2003) Pin
TwoFaced7-Feb-07 14:01
TwoFaced7-Feb-07 14:01 
GeneralRe: Killing processes with listview (.net 2003) Pin
TwoFaced7-Feb-07 15:46
TwoFaced7-Feb-07 15:46 
I had another idea. Why not store the ID as a subitem in the listview. Here is an example.
Public Class Form1
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ListView1.View = View.Details
        ListView1.Columns.Add("Process", 150)
        ListView1.Columns.Add("ID", 75)
        '---Popullate listview1 with running processes
        For Each proc As System.Diagnostics.Process In System.Diagnostics.Process.GetProcesses
            'Add ProcessName with a subitem as the ID
            ListView1.Items.Add(proc.ProcessName).SubItems.Add(proc.Id)
        Next
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        For Each item As ListViewItem In ListView1.SelectedItems
            MsgBox(item.SubItems(1).text)
        Next
    End Sub
End Class

QuestionRead out of a barcode scanner via a serial port Pin
Slobbertje7-Feb-07 11:23
Slobbertje7-Feb-07 11:23 
AnswerRe: Read out of a barcode scanner via a serial port Pin
Christian Graus7-Feb-07 11:42
protectorChristian Graus7-Feb-07 11:42 
AnswerRe: Read out of a barcode scanner via a serial port Pin
Q2gyro7-Feb-07 17:47
Q2gyro7-Feb-07 17:47 
QuestionI want to read header file ( .avi) Pin
Hossein Narimani Rad7-Feb-07 9:50
Hossein Narimani Rad7-Feb-07 9:50 
AnswerRe: I want to read header file ( .avi) Pin
xstoneheartx7-Feb-07 13:29
xstoneheartx7-Feb-07 13:29 
QuestionRe: I want to read header file ( .avi) Pin
Hossein Narimani Rad8-Feb-07 2:51
Hossein Narimani Rad8-Feb-07 2:51 
QuestionNot Framework 1.0 neighter 2.0 Pin
FeRtoll7-Feb-07 9:34
FeRtoll7-Feb-07 9:34 
AnswerRe: Not Framework 1.0 neighter 2.0 Pin
xstoneheartx7-Feb-07 9:49
xstoneheartx7-Feb-07 9:49 
GeneralRe: Not Framework 1.0 neighter 2.0 Pin
FeRtoll7-Feb-07 10:00
FeRtoll7-Feb-07 10:00 
GeneralRe: Not Framework 1.0 neighter 2.0 Pin
Dave Kreskowiak7-Feb-07 10:08
mveDave Kreskowiak7-Feb-07 10:08 
GeneralRe: Not Framework 1.0 neighter 2.0 Pin
FeRtoll7-Feb-07 20:34
FeRtoll7-Feb-07 20:34 
GeneralRe: Not Framework 1.0 neighter 2.0 Pin
Dave Kreskowiak8-Feb-07 3:20
mveDave Kreskowiak8-Feb-07 3:20 
GeneralRe: Not Framework 1.0 neighter 2.0 Pin
FeRtoll8-Feb-07 20:18
FeRtoll8-Feb-07 20:18 
AnswerRe: Not Framework 1.0 neighter 2.0 Pin
Dave Kreskowiak7-Feb-07 10:07
mveDave Kreskowiak7-Feb-07 10:07 
GeneralRe: Not Framework 1.0 neighter 2.0 Pin
Christian Graus7-Feb-07 14:48
protectorChristian Graus7-Feb-07 14:48 
GeneralRe: Not Framework 1.0 neighter 2.0 Pin
Dave Kreskowiak7-Feb-07 16:20
mveDave Kreskowiak7-Feb-07 16:20 
GeneralRe: Not Framework 1.0 neighter 2.0 Pin
Christian Graus7-Feb-07 17:38
protectorChristian Graus7-Feb-07 17:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.