hai verificato che
hWnd = FindWindow(vbNullString, "ProgDVB")

non resituisca un valore nullo?