Dude Cowboy (1941)
Dude Cowboy is a 1941 American film about a federal agent, Terry McVey, who goes undercover as a cowboy staying at the Silver Bar Dude Ranch to investigate the disappearance of Frank Adams, a noted engraver, which is possibly connected to a counterfeit money case.
More at Wikipedia.