Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Can not show the ppt image
saifullah khan
Oct 25 2011 8:19 AM
1.2k
Reply
hi
i have a web page and i want to upload ppt file on it,convert it into imgage in show it into an image tag. the ppt file has one slide. here is the code:
protected void Page_Load(object sender, EventArgs e)
{
ApplicationClass pptApplication = new ApplicationClass();
Presentation pptPresentation = pptApplication.Presentations.Open("saifullah.ppt", MsoTriState.msoFalse,MsoTriState.msoFalse, MsoTriState.msoFalse);
pptPresentation.Slides[1].Export("slid.jpg", "jpg", 320, 240);
Image1.ImageUrl = pptPresentation.ToString();
}
when i debug the page it show the following output instead of image.
Submit Query
can somebody tells me where is the problem?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
tag should then have its "mode" attribute set to "Off".
How to set language option