Click here to Skip to main content
15,914,394 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsecuring webapp with web.config Pin
0rb1t3-Aug-06 1:39
0rb1t3-Aug-06 1:39 
AnswerRe: securing webapp with web.config Pin
Chetan.visodiya3-Aug-06 2:05
Chetan.visodiya3-Aug-06 2:05 
GeneralRe: securing webapp with web.config Pin
0rb1t3-Aug-06 2:31
0rb1t3-Aug-06 2:31 
AnswerRe: securing webapp with web.config Pin
ToddHileHoffer3-Aug-06 2:20
ToddHileHoffer3-Aug-06 2:20 
GeneralRe: securing webapp with web.config Pin
0rb1t3-Aug-06 4:33
0rb1t3-Aug-06 4:33 
GeneralRe: securing webapp with web.config Pin
ToddHileHoffer3-Aug-06 8:06
ToddHileHoffer3-Aug-06 8:06 
Questionplay audio files using asp.net 1.1/c# Pin
DGtech3-Aug-06 0:26
DGtech3-Aug-06 0:26 
AnswerRe: play audio files using asp.net 1.1/c# Pin
VenkataRamana.Gali3-Aug-06 2:37
VenkataRamana.Gali3-Aug-06 2:37 
try this

//Sound.cs<br />
using System.Runtime.InteropServices;<br />
<br />
public class Sound<br />
{<br />
[DllImport("winmm.dll")]<br />
protected static extern bool PlaySound(string lpszName, int hModule, int dwFlags);<br />
protected const int SND_FILENAME = 0x20000;<br />
protected const int SND_ASYNC = 0x1;<br />
<br />
public static void Play(string audioFullpath, int minSeconds)<br />
{<br />
 DateTime now = DateTime.Now; <br />
 TimeSpan ts = now.Subtract(lastPlayed);<br />
 if (ts.TotalSeconds > minSeconds)<br />
  {<br />
	PlaySound(audioFullpath, 0, SND_ASYNC | SND_FILENAME);<br />
	lastPlayed = now; <br />
  }<br />
}<br />
}<br />
<br />
//Calling <br />
Sound.Play(@"c:\sample1.wav",30);







regards
GV Ramana

QuestionError while providing file download in webpage Pin
seee sharp2-Aug-06 23:20
seee sharp2-Aug-06 23:20 
AnswerRe: Error while providing file download in webpage Pin
ToddHileHoffer3-Aug-06 2:50
ToddHileHoffer3-Aug-06 2:50 
GeneralRe: Error while providing file download in webpage Pin
seee sharp3-Aug-06 3:09
seee sharp3-Aug-06 3:09 
GeneralRe: Error while providing file download in webpage Pin
ToddHileHoffer3-Aug-06 3:19
ToddHileHoffer3-Aug-06 3:19 
GeneralRe: Error while providing file download in webpage Pin
seee sharp4-Aug-06 4:01
seee sharp4-Aug-06 4:01 
Questionhow to call frame page using webrequest Pin
nilesh28742-Aug-06 23:06
nilesh28742-Aug-06 23:06 
AnswerRe: how to call frame page using webrequest Pin
Guffa3-Aug-06 3:00
Guffa3-Aug-06 3:00 
QuestionHow to compute end date given the start date? Pin
blurMember2-Aug-06 22:54
blurMember2-Aug-06 22:54 
AnswerRe: How to compute end date given the start date? Pin
_AK_2-Aug-06 23:17
_AK_2-Aug-06 23:17 
GeneralRe: How to compute end date given the start date? Pin
blurMember2-Aug-06 23:44
blurMember2-Aug-06 23:44 
GeneralRe: How to compute end date given the start date? Pin
_AK_2-Aug-06 23:47
_AK_2-Aug-06 23:47 
AnswerRe: How to compute end date given the start date? Pin
mnaveed2-Aug-06 23:37
mnaveed2-Aug-06 23:37 
GeneralRe: How to compute end date given the start date? Pin
blurMember2-Aug-06 23:46
blurMember2-Aug-06 23:46 
QuestionInclude aspx file within aspx file Pin
doyang2-Aug-06 22:13
doyang2-Aug-06 22:13 
AnswerRe: Include aspx file within aspx file Pin
enjoycrack3-Aug-06 2:39
enjoycrack3-Aug-06 2:39 
AnswerRe: Include aspx file within aspx file Pin
Not Active3-Aug-06 3:58
mentorNot Active3-Aug-06 3:58 
QuestionExport to excel sheet wise Pin
sharath072-Aug-06 21:50
sharath072-Aug-06 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.