Click here to Skip to main content
Licence 
First Posted 17 Apr 2002
Views 116,193
Bookmarked 31 times

liteWait PowerPoint to HTML Converter

By | 25 Oct 2002 | Article
Scans a target directory for Microsoft PowerPoint presentations and automatically convert them to HTML to reduce network traffic and to allow for presentation previewing without downloading the entire PowerPoint file.

Sample Image - liteWait.jpg

Introduction

This is a little app that I wrote for a client that has a number of PowerPoint presentations in their portal's document library. The problem with the presentations is that they are often fairly large especially for the users that were hitting the site through a 56k modem. The application scans a particular directory and it's subdirectories for Microsoft PowerPoint files (.ppt) and then uses the COM objects for PowerPoint to open the presentation and do a Save As HTML. We then modified the portal's document to have 2 links for each presentation, one that links to the PowerPoint file and one that links to the HTML version.

Form1.vb

This form initializes the app and is hidden right away only showing in the system tray. Further documentation is within the code.

SettingsForm.vb

This form is shown when the user right clicks the system tray icon and chooses Settings.... It will read the settings.xml file to populate the form. When the user modifies the entries it will then save the values back to the XML file. The settings are:

  • Scan Directory - The directory that will be crawled for PowerPoint files.
  • Scan Interval - The length of time in minutes between crawls.
  • HTML Directory - Where the PowerPoint files that are converted to HTML will be saved.

Some cool things in the app besides the HTML conversion shows intermediate and beginner programmers how to use:

  • the Timer control
  • an XML file as a data store
  • the NotifyIcon class
  • a custom trace listener for debugging and logging

Please note that Microsoft PowerPoint needs to be on the server and open for the application to work.

History

26 Oct 2002 - updated downloads

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

James Coleman

Technical Lead
ICrossing
United States United States

Member

Follow on Twitter Follow on Twitter
___________________________
J A M E S C O L E M A N
Director, Technical Services
Company: www.iCrossing.com
Blog: ledtalks.posterous.com

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralPPt to HTML PinmemberMember 396884523:35 27 Apr '08  
Questionhow to run ppt files in vb.net without ms office on system Pinmemberkk_upadhyay22:50 10 Sep '07  
Generalsending data from webapplication to ppt file Pinmemberswethaa2:21 16 Apr '07  
Generalbinding power point slides in datagrid .net Pinmembersandip manoj23:30 3 May '06  
GeneralWant POwerPOint SLides in Vb.Net Pinmembermain hoona2:05 13 Dec '04  
GeneralNo event notification from Power Point PinsussDineshT0:57 11 Nov '02  
GeneralUnhandled exception PinmemberRonny20:41 12 Jun '02  
GeneralRe: Unhandled exception PinmemberJames Coleman7:42 13 Jun '02  
GeneralRe: Unhandled exception PinmemberRonny9:38 14 Jun '02  
Questionwhere are the settings.xml? Pinmemberbryanli22:17 23 May '02  
Answercontents of settings.xml PinmemberJames Coleman3:48 28 May '02  
GeneralError link code!! PinmemberAgus Kurniawan17:26 18 Apr '02  
GeneralRe: Error link code!! PinmemberJames Coleman5:02 19 Apr '02  
GeneralRe: Error link code!! (Sorry) PinmemberAgus Kurniawan5:42 20 Apr '02  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 26 Oct 2002
Article Copyright 2002 by James Coleman
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid