Click on hyperlink column to launch audio clips

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a datagrid that consists of a data-bound hyperlink column binded to
the "Song Name" column of the data source. When user clicks on one of the
links, the associated media application such as RealPlayer or Windows Media
Player will be launched.

I searched through the MSDN Library and found that Windows API can be used
to play simple sounds. Is there other alternatives to achieve it ?
 
Hi Kim,

You also have the option of using System.Diagnostics.Process.Start() which
acts like Shellexecute in VB6. It will shell the file you provide, and open
it with the default application.

Do a search for it on MSDN.

HTH
ALtaf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top