Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Can not show the ppt image
saifullah khan
13y
1.2k
1
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?
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
tag should then have its "mode" attribute set to "Off".
How to set language option