This film is old, might even be from the eighties.
The only scene I can remember is that the main male character, who I seem to remember being some sort of detective or PI was in a woman's room when she came home. He hid in her closet, where there was a tube of superglue on the floor. Her little yappy terrier dog ran up and started barking at the closet doors (I think they were the louvered folding style). He reached out and grabbed the dog and pulled it into the closet to quiet it, accidentally gluing it to his hand.
I thought this was a Chevy Chase movie, and rewatched Fletch just to see if that was it, but no luck. Does this sound familiar to anyone?