You can do this by embedding mediaplayer in webpage.
On Code Behind
-----------------
protected void Button1_Click(object sender, EventArgs e)
{
try
{
playSound();
}
catch (Exception ex)
{
Response.Write("Error in Page:" + ex.Message);
}
}
public void playSound()
{
mySrc = @"http://intranet.divoli.in//Sound//alarm.wav";
}
aspx page
-----------
<asp:Panel ID="Panel1" runat="server" Height="1px" Width="1px">
<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="player"
class="style3" height="1px" width="1px" >
<param name="url" value="<%=mySrc %>" />
<param name="src" value="<%=mySrc %>" />
<param name="showcontrols" value="true" />
<param name="autostart" value="true" />
<!--[if !IE]>-->
<object type="video/x-ms-wmv" data="<%=mySrc %>" class="style4" height="1px" width="1px">
<param name="src" value="<%=mySrc %>" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
</object>
<!--<![endif]-->
</object>
</asp:Panel>
Thanks