Click here to Skip to main content
15,897,704 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to avoid to refer the old file? Pin
Guffa13-Aug-06 21:17
Guffa13-Aug-06 21:17 
Questionalert message box in asp.net in vb.net Pin
amaneet13-Aug-06 19:56
amaneet13-Aug-06 19:56 
AnswerRe: alert message box in asp.net in vb.net [modified] Pin
devboycpp14-Aug-06 3:16
devboycpp14-Aug-06 3:16 
AnswerRe: alert message box in asp.net in vb.net Pin
Mike Ellison14-Aug-06 3:27
Mike Ellison14-Aug-06 3:27 
QuestionCreating Microsoft Powerpoint presentation dynamically Pin
Avanika Gupta13-Aug-06 19:07
Avanika Gupta13-Aug-06 19:07 
AnswerRe: Creating Microsoft Powerpoint presentation dynamically Pin
seee sharp14-Aug-06 0:09
seee sharp14-Aug-06 0:09 
GeneralRe: Creating Microsoft Powerpoint presentation dynamically Pin
Avanika Gupta14-Aug-06 1:13
Avanika Gupta14-Aug-06 1:13 
AnswerRe: Creating Microsoft Powerpoint presentation dynamically Pin
seee sharp14-Aug-06 22:12
seee sharp14-Aug-06 22:12 
you can use following code to push ppt file to client.

try
{
Byte [] bytes = GetFileContents(filePath);//Get file contents as array of bytes
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=File" + _fileExtension); //File extension is ppt in your case
Response.AddHeader("Content-Length", bytes.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.Buffer = true;
Response.BinaryWrite(bytes);
Response.Flush();
}
catch(FileNotFoundException fnfe)
{
//File not found
}
catch(Exception ex)
{
//Some exception
}


- ashish

AnswerRe: Creating Microsoft Powerpoint presentation dynamically Pin
Sathesh Sakthivel14-Aug-06 2:25
Sathesh Sakthivel14-Aug-06 2:25 
Questionproblem with frames Pin
prabhakar dwivedi13-Aug-06 18:47
prabhakar dwivedi13-Aug-06 18:47 
AnswerRe: problem with frames Pin
coolestCoder13-Aug-06 20:41
coolestCoder13-Aug-06 20:41 
QuestionPDF to TXT/RTF/DOC Pin
Sathiyaraj Ganesan13-Aug-06 18:18
Sathiyaraj Ganesan13-Aug-06 18:18 
AnswerRe: PDF to TXT/RTF/DOC Pin
RaghuSanta21-Aug-06 21:44
RaghuSanta21-Aug-06 21:44 
QuestionDisplaying Summary Data in the Footer Pin
blurMember13-Aug-06 16:17
blurMember13-Aug-06 16:17 
QuestionHow to export a table to excel? Pin
steven_wong13-Aug-06 16:12
steven_wong13-Aug-06 16:12 
AnswerRe: How to export a table to excel? Pin
Ramasubramaniam15-Aug-06 3:41
Ramasubramaniam15-Aug-06 3:41 
QuestionHow to use a list control and a pop up calendar together? Pin
frossie13-Aug-06 15:48
frossie13-Aug-06 15:48 
QuestionQuestion about Context.User Pin
devboycpp13-Aug-06 12:03
devboycpp13-Aug-06 12:03 
AnswerRe: Question about Context.User Pin
minhpc_bk13-Aug-06 15:39
minhpc_bk13-Aug-06 15:39 
GeneralRe: Question about Context.User Pin
devboycpp14-Aug-06 1:57
devboycpp14-Aug-06 1:57 
QuestionRe: Question about Context.User Pin
devboycpp14-Aug-06 6:00
devboycpp14-Aug-06 6:00 
AnswerRe: Question about Context.User Pin
minhpc_bk14-Aug-06 16:18
minhpc_bk14-Aug-06 16:18 
QuestionChat-Room with Asp.net 1.1 and VB Pin
chrissivol13-Aug-06 11:52
chrissivol13-Aug-06 11:52 
AnswerRe: Chat-Room with Asp.net 1.1 and VB Pin
steven_wong13-Aug-06 16:18
steven_wong13-Aug-06 16:18 
QuestionHelp - DotNetNuke website setup Pin
karanjsingh13-Aug-06 11:49
karanjsingh13-Aug-06 11:49 

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.