FindWindow function
SendMessage function
WM_CLOSE message
Get the HWND of the window you want to close (what you called application) using FindWindow function, then send the WM_CLOSE message to that HWND using the SendMessage function. If you don't know how to use those WinAPI functions in VB.NET see https://www.pinvoke.net/