With 599 career goals, Selanne needs two more to tie Hall of Famer Jari Kurri as the leading Finnish scorer in NHL history. Kurri scored 601 goals in 17 seasons with Edmonton, Los Angeles, the New York Rangers, Anaheim and Colorado.
Joe Thornton and Jamie McGinn scored goals and Evgeni Nabokov was 29-of-32 in goal for the Sharks, who lost their second straight following a three-game winning streak.
Selanne's goal at 7:40 of the first period -- his 20th goal of the season -- gave the Ducks a 2-0 lead. Visnovsky scored what turned out to be the decisive goal with 55 seconds left in the first.