Click here to Skip to main content
15,902,198 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: file open Pin
Krish - KP7-Feb-07 20:00
Krish - KP7-Feb-07 20:00 
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 
This should help. I'm using VS2005 so I hope this will be the same for you.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    'Get the processes with the name 'qryspree'
    'You probably stored the process name in the listview so whatever item is selected
    'will tell you the process name to get
    Dim proc() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName("qryspree")

    'Loop through processes found
    'Note: Finding a process by name returns an array so the loop just
    'ensures you kill each one with that name
    For Each instance As System.Diagnostics.Process In proc
        instance.Kill()
    Next
End Sub
As another option you could store the process id's when you add them to the listview. The process object will tell you the ID. You could store the name with the id in a hashtable.
GeneralRe: Killing processes with listview (.net 2003) Pin
TwoFaced7-Feb-07 15:46
TwoFaced7-Feb-07 15:46 
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 

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.