The Duke of West Point is a 1938 film. It was described as A Yank at Oxford in reverse.
Steve becomes a scholar and athlete, excelling in ice hockey. His roommates and friends are cadets Sonny Drew and Jack West, and he develops a romantic interest in Ann Porter, angering another cadet who loves her.When word reaches him that Jacks mother is seriously ill and cant afford proper medical care, Steve sneaks off campus to wire money to her, making her promise not to tell who sent it. Caught upon his return, Steves being absent without explanation is considered a dishonorable act and results in his being shunned by all other cadets for the next two years, given the silent treatment. ........
Source: Wikipedia