My question originates from here:
How do I know from one application that another application has an active form. Same machine (windows) running two application (a.exe and b.exe) both created in vb.net. How can a.exe know that b.exe form2 is open or not?
I know that b.exe is running via:
Public Function IsApplicationRunning(ByVal appName As String) As Process
For Each aProcess in Process.GetProcesses()
If aProcess.ProcessName.StartsWith(appName, StringComparisong.CurrentCultureIgnoreCase) Then
Return aProcess
End If
Next
Return Nothing
End Function