Hi All!
I am writing a program to update one of the many third party security program that I run to protect folks from the bad boys on the internet,,,
I knew that the internet explorer had to be closed then reopen before the program would grab the new setting... and I found the code to detect if IE is running so I can say close it when ready,, But along the way I found that the file manager has to be closed along with IE,,, then restarted,,
Upon digging I found that the file manager is opened under the dllhost.exe
but I can't seem to find any example on how to drill out what I need,,,
I found this line that will tell me if the dllhost is running
I'm playing with VB.net under the M$ visual studio 2005 pro,,,
how do I drill out the if the File manger is running and not another application under the dllhost.exe
If there is a better way I'll go for it,,,
-------------------------------------------------------------
The problem is the words that I'm searching with are so common I'm getting two billion hits on stuff that have no relationship to what i'm looking for..........
IE was a short one
Thanks...
I am writing a program to update one of the many third party security program that I run to protect folks from the bad boys on the internet,,,
I knew that the internet explorer had to be closed then reopen before the program would grab the new setting... and I found the code to detect if IE is running so I can say close it when ready,, But along the way I found that the file manager has to be closed along with IE,,, then restarted,,
Upon digging I found that the file manager is opened under the dllhost.exe
but I can't seem to find any example on how to drill out what I need,,,
I found this line that will tell me if the dllhost is running
VB.NET:
Dim localByName As Process() = Process.GetProcessesByName("dllhost")
I'm playing with VB.net under the M$ visual studio 2005 pro,,,
how do I drill out the if the File manger is running and not another application under the dllhost.exe
If there is a better way I'll go for it,,,
-------------------------------------------------------------
The problem is the words that I'm searching with are so common I'm getting two billion hits on stuff that have no relationship to what i'm looking for..........
IE was a short one
VB.NET:
Friend Function Is_IE_running() As Boolean
Is_IE_running = False
Dim myProcesses() As Process
Dim myProcess As Process
Dim strdte As Date
myProcesses = Process.GetProcessesByName("IEXPLORE")
For Each myProcess In myProcesses
strdte = myProcess.StartTime
Is_IE_running = True
Next
If MDIParent.Options_Chk_IE_Warning.Checked = True Then
Is_IE_running = False
End If
End Function
Thanks...