Where does this trope originate: vamp enters private eye's office with a case for him

This question seems well-suited to Cafe Society, where we talk about movies, literature and other art forms. I’ve moved it there.