Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Scenerio:
i am developing cbt system.
1)i m converting ppt files into web page while saving it in to my local disk.
2) same pptweb file i am uploading it to m s access database as object data type.but total file is storing it into server path only file name is soting it into database column.
now my problem is..
i want to show all file names in grid view from database and by clicking link button it should open perticular pptweb file in new browser...
pls sujjest mwe which is good way and if you have any code pls send my mail id
psp.1008@gmail.com
Thanks in advance
Posted
Comments
[no name] 15-Dec-12 2:14am    
You can place it in an iframe

1 solution

PPT has a proprietary format which is unknown to the Web. I would suggest you parse the file on server side, map it to some HTML which you will need to compose on the fly, and present it to the user in your HTTP response.

To work with PPT, you would need to use MS Office Interop: http://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint[^].

You can reference appropriate assembly if the Office is installed on the server side. The assembly will be installed in the GAC, so you would reference it from the tab ".NET" of the "Add Reference" window.

—SA
 
Share this answer
 
Comments
Pradeepkumar patil sonu 17-Dec-12 23:27pm    
i ve solved my problem by using iframe.. but i want to add src dynamically to iframe but its not working..
i tried
frame1.Attributes["src"] = "http://www.live.com" ;
pls sujjest me if any other way is dr

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900