By Corrie Driebusch And Saumya Vaishampayan 

Technology stocks rose Friday following strong corporate results, putting the Nasdaq Composite on track to push further into record territory.

The Nasdaq Composite rose 39 points, or 0.8%, to 5095. The S&P 500 climbed 5.2 points, or 0.3%, to 2118 and the Dow Jones Industrial Average added 19 points, or 0.1%, to 18078.

"Tech is the whole story today on the upside," said Art Hogan, chief market strategist at Wunderlich Securities. "That's where the excitement is."

"The Nasdaq has been outperforming this earnings season as it's clearly less impacted by energy prices and the strong dollar," Mr. Hogan said.

The Nasdaq Composite advanced Thursday to a record close, its first since March 10, 2000. The tech-heavy index rose 0.4% to close at 5056.06, surpassing its previous all-time high of 5048.62. The Nasdaq's gains this year have outpaced advances in the Dow industrials and S&P 500. The Nasdaq has rallied 6.8% in 2015 through Thursday's close, while the Dow has added 1.3% and the S&P has advanced 2.6%. Over the last 12 months, the Nasdaq has surged 22%, more than twice the Dow's 9.4% gain.

On Friday the index's rise was driven primarily by a number of solid corporate earnings reports.

Microsoft Corp. said late Thursday sales in the third quarter ended March 31 rose nearly 6.5% from a year earlier, boosted in part by the inclusion of sales from Nokia Corp.'s mobile-phone business. Sales beat Wall Street's expectations even as a strong U.S. dollar weighed. Shares rose 8.2%, adding about 24 points to the Dow.

Google Inc. said its revenue took a hit from the rising dollar in the first quarter, as the company generates more than 55% of its revenue outside the U.S. But shares rose 3.5% as better expense control boosted profit margins.

Amazon.com Inc. swung to a first-quarter loss despite rapidly rising sales, as it continued to spend heavily to fund a variety of projects. Shares of the e-commerce giant rallied 15%.

The share gains by the trio of established technology companies did not surprise Michael Tiedemann of Tiedemann Wealth Management, which manages $9.5 billion.

"Big, older tech looks attractive," said Mr. Tiedemann. He said while he likes "the Apples, the Googles, the Microsofts," he is more wary of social media and "disruptive technology" companies whose valuations may be higher.

Overall, first-quarter earnings are coming in above lowered expectations.

"There was clearly a lot of downward managing of expectations going into the season, but the beats are broader than usual," said Stephen Freedman, head of cross-asset strategy at UBS Wealth Management Americas. He said he likes consumer discretionary as well as technology companies, and expects earnings to drive more stock-market gains through the rest of 2015.

"We don't think it's going to be spectacular from here, but we're looking for high single-digit returns for the year," he said.

In other corporate news, Starbucks Corp. said its profit and sales rose in its latest quarter, with results roughly in line with analyst expectations. Shares rose 4.4%.

Comcast Corp. on Friday ended its plans to acquire Time Warner Cable Inc. , as increasing pressure from regulators prompted the end of the $45.2 billion deal. Shares of Comcast were unchanged and shares of Time Warner gained 2.2%.

In commodity markets, crude-oil futures fell 1.5% to $56.86 a barrel. Gold futures slipped 1.5% to $1176.50 an ounce. The yield on the 10-year Treasury note fell to 1.918% from 1.945% on Thursday. Yields rise as prices fall.

European stocks rose, with Germany's DAX adding 0.7% and France's CAC 40 gaining 0.4%.

Write to Corrie Driebusch at corrie.driebusch@wsj.com and Saumya Vaishampayan at saumya.vaishampayan@wsj.com

Access Investor Kit for Amazon.com, Inc.

Visit http://www.companyspotlight.com/partner?cp_code=P479&isin=US0231351067

Access Investor Kit for Comcast Corp.

Visit http://www.companyspotlight.com/partner?cp_code=P479&isin=US20030N1019

Access Investor Kit for Comcast Corp.

Visit http://www.companyspotlight.com/partner?cp_code=P479&isin=US20030N2009

Access Investor Kit for Google, Inc.

Visit http://www.companyspotlight.com/partner?cp_code=P479&isin=US38259P5089

Access Investor Kit for Google, Inc.

Visit http://www.companyspotlight.com/partner?cp_code=P479&isin=US38259P7069

Access Investor Kit for The NASDAQ OMX Group, Inc.

Visit http://www.companyspotlight.com/partner?cp_code=P479&isin=US6311031081

Access Investor Kit for Time Warner, Inc.

Visit http://www.companyspotlight.com/partner?cp_code=P479&isin=US8873173038

Access Investor Kit for Time Warner Cable, Inc.

Visit http://www.companyspotlight.com/partner?cp_code=P479&isin=US88732J2078

Microsoft (NASDAQ:MSFT)
Historical Stock Chart
From Feb 2024 to Mar 2024 Click Here for more Microsoft Charts.
Microsoft (NASDAQ:MSFT)
Historical Stock Chart
From Mar 2023 to Mar 2024 Click Here for more Microsoft Charts.