PC Review


Reply
Thread Tools Rate Thread

Click on hyperlink column to launch audio clips

 
 
=?Utf-8?B?S2lt?=
Guest
Posts: n/a
 
      25th Nov 2005
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 ?
 
Reply With Quote
 
 
 
 
S.M. Altaf [MVP]
Guest
Posts: n/a
 
      25th Nov 2005
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
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com


"Kim" <(E-Mail Removed)> wrote in message
news:664BD820-DBF3-4259-947B-(E-Mail Removed)...
>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 ?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Double GET-Request if click on a hyperlink in a column =?Utf-8?B?SHVhaXlhbmcgTWFv?= Microsoft Excel Misc 0 6th Nov 2006 09:00 AM
Audio Clips =?Utf-8?B?TmV3Ymll?= Windows XP MovieMaker 0 2nd Feb 2006 08:52 PM
How to stop an audio file from playing when I click an hyperlink =?Utf-8?B?ZnJhcHVhbm8=?= Microsoft Powerpoint 0 23rd Jan 2005 05:15 PM
Audio clips jimelia Windows XP Internet Explorer 0 12th Jul 2004 09:56 PM
XP: Double-click doesn't launch Programs on Desktop or single click in Start Menu GGiffer@dresdel,biz> Windows XP Basics 3 21st Sep 2003 08:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:30 AM.