473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Powerpoint presentation issue.


Hello,
At some point in my application, i need to show a power point presentation
to users.
How can this be done?
The power point is uploaded from a web page . Should i store it in the
database or
on the hard disk.?
Assuming the the host pc has some kind of power point viewer installed.
How can i from asp.net serve the power point document my users?
Many thanks
JB
Nov 19 '05 #1
4 1369
You should store in a database as a binary image and to show powerpoint you
should set ResponseHeader to content type "application/ms-powerpnt" and
write binary output to response. You shouldn't store the file directly in a
folder for the security reasons. Otherwise anyone uses a program like
FlashGet-Site Explorer can easily download files..

--
Thanks,
Yunus Emre ALPÖZEN

"Bredahl jensen" <br************@yahoo.dk> wrote in message
news:OL*************@TK2MSFTNGP12.phx.gbl...

Hello,
At some point in my application, i need to show a power point presentation
to users.
How can this be done?
The power point is uploaded from a web page . Should i store it in the
database or
on the hard disk.?
Assuming the the host pc has some kind of power point viewer installed.
How can i from asp.net serve the power point document my users?
Many thanks
JB

Nov 19 '05 #2
Hi Bredahl
more efficent to download on hard desk let the user to choose open or save
and dont making load on DB
hope this help

"Bredahl jensen" wrote:

Hello,
At some point in my application, i need to show a power point presentation
to users.
How can this be done?
The power point is uploaded from a web page . Should i store it in the
database or
on the hard disk.?
Assuming the the host pc has some kind of power point viewer installed.
How can i from asp.net serve the power point document my users?
Many thanks
JB

Nov 19 '05 #3
Many thanks. I'll prefer this suggestion as the user should no´t interact
with the power point viewing.

Is there a way to control how long the power point presentation should run
on the client browser?
"Yunus Emre ALPÖZEN" <ye***@msakademik.net> wrote in message
news:uj**************@tk2msftngp13.phx.gbl...
You should store in a database as a binary image and to show powerpoint you should set ResponseHeader to content type "application/ms-powerpnt" and
write binary output to response. You shouldn't store the file directly in a folder for the security reasons. Otherwise anyone uses a program like
FlashGet-Site Explorer can easily download files..

--
Thanks,
Yunus Emre ALPÖZEN

Nov 19 '05 #4
On Thu, 3 Feb 2005 12:29:07 +0200, "Yunus Emre ALPÖZEN"
<ye***@msakademik.net> wrote:
You should store in a database as a binary image and to show powerpoint you
should set ResponseHeader to content type "application/ms-powerpnt" and
write binary output to response. You shouldn't store the file directly in a
folder for the security reasons. Otherwise anyone uses a program like
FlashGet-Site Explorer can easily download files..


If the .ppt files are kept on disk, one can map request for the .ppt
extension to the ASP.NET runtime and authorize the requests. This
prevents anon users from gaining access to the files.

--
Scott
http://www.OdeToCode.com/blogs/scott/

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: C Williams | last post by:
Hi, I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003. The dll I am writing is for smart tags, and I am having trouble...
2
by: WillRead | last post by:
I have a VB.Net application and a PowerPoint presentation explaining how each form in the application works, etc.. I would like to select and display the slide appropriate for each form by pressing...
4
by: Joseph | last post by:
I am trying to open a 3 powerpoint presentation simultaneously afte each other without interruption, the operator of the application doe not need to notice anything or interfere in the operation of...
8
by: Rut | last post by:
Does anyone know how to start powerpoint from vb.net without the ppt screen appearing. I want to keep it hidden? Using this code: Try pp = New PowerPoint.Application pp.Visible =...
0
by: Alexander Czernay | last post by:
I created a VB.NET-PowerPoint-AddIn as described in the VisualStudio 2003 documentation. That works very well. The AddIn adds a new toolbar to PowerPoint if the active document is based on a...
0
by: ProfessorKaos | last post by:
I'm trying to open a slide show from an application but I am receiving an error when tring to reference the PowerPoint.Presentation object. I'm not sure if it a framework, registry, or version...
9
by: Sensei76 | last post by:
Hello, I have the following problem and I do not know how to accomplish this. I have an (existing) powerpoint presentation that should be displayed not within its own window, but within a control...
6
by: BWPanda | last post by:
Hi everyone, I'm wanting to use VB.NET to display a powerpoint presentation, much the same way as the presenter that comes with PowerPoint (when used on multiple monitors). Basically, I want to...
3
by: WPeterson | last post by:
Converting PowerPoint to Flash would absolutely be a good choice to distribute your bulky PowerPoint presentations. You can do the whole PowerPoint to Flash conversion manually or with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.