"It's definitely an honor, especially after last year going through what I did [12-7 record, 4.40 ERA], and to come back this year and get an opportunity like this, it means a lot," said Schmidt.
"It's always an honor just to go," he said. "If you don't get selected ... all the other years I was disappointed. You've got to enjoy the moment, and going back to Pittsburgh will be fun."
Schmidt pitched for the Pirates from 1996 to 2001.
The 33-year-old Schmidt, who earned All-Star berths in 2003 and 2004 when he won 17 and 18 games, respectively, and was a top candidate for the NL Cy Young Award -- he finished second three years ago -- boasts a six-game winning streak this season after an 0-2 start.
Although winless in his last four outings, he has thrown quality outings in three of those starts.
Schmidt deserved better than a no-decision in his previous start, allowing only one run over seven innings in the club's 2-1 victory. He also threw well on June 23 vs. Oakland, giving up two runs over seven frames in a Giants loss.
Whether Schmidt pitches in the All-Star contest is another matter. If the rotation holds, he will oppose the Los Angeles Dodgers on July 9 at Dodger Stadium.
Schmidt was the starting pitcher in the 2003 All-Star Game at Chicago's U.S. Cellular Field, allowing one hit and striking out three in two scoreless innings. While selected to the Midsummer Classic in 2004, he did not participate after throwing 130-plus pitches in his previous start.
Schmidt, whose winning percentage with the Giants is the best in history, has been healthy this season and instrumental in keeping the Giants from sagging in the NL West standings.
"He's an All-Star pitcher, an All-Star man and is in All-Star shape right now," said manager Felipe Alou.
Schmidt said he was "bummed" about not pitching in the Classic two years ago in Houston and is excited about attending the festival this month.
"We'll see," he said of playing in the game, one day after a start, but hopes he sees action. "It will be my normal throwing day. It's tough to go all that way, be around those guys and watch everybody in the bullpen going in -- it's always fun to get in that game."