Im having trouble closing certain windows with vb5. By closing I mean like right clicking x top right of window.
This closes notepad but not internet explorer?
lRes = SendMessage(CleanHousehWnd, WM_CLOSE, 0, 0)
How could I close internet explorer?
This only minimizes windows
lRes = SendMessageLong(CleanHousehWnd, WM_QUIT, 0, 0)
I am trying to automate quiting all applications.