Click here to Skip to main content
11,577,216 members (58,093 online)
Click here to Skip to main content

liteWait PowerPoint to HTML Converter

, 25 Oct 2002 125.5K 1.1K 31
Rate this:
Please Sign up or sign in to vote.
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.
<!-- Download Links --> <!-- Article image -->

Sample Image - liteWait.jpg

<!-- Add the rest of your HTML here -->

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

Share

About the Author

James Coleman
Technical Lead Independent Consultant
United States United States
___________________________
J A M E S C O L E M A N
Director, Technical Services
Linked-In: http://www.linkedin.com/in/jameswcoleman
Blog: ledtalks.wordpress.com

You may also be interested in...

Comments and Discussions

 
GeneralPPt to HTML Pin
Member 396884527-Apr-08 23:35
memberMember 396884527-Apr-08 23:35 
Questionhow to run ppt files in vb.net without ms office on system Pin
kk_upadhyay10-Sep-07 22:50
memberkk_upadhyay10-Sep-07 22:50 
Generalsending data from webapplication to ppt file Pin
swethaa16-Apr-07 2:21
memberswethaa16-Apr-07 2:21 
Sir,

I have one web application in which one combo box is there. based on the selection in combo box,it will resluts some records. i have to take the result and i have to send to power point file with some format...

In first slide
Product Road Map
by xyz company

In second slide
version1
release1
release2
release3
verison 2
release1
release2
release3

i know how to do in windows application but i dont know in web application...

please help in that
Frown | :(



swetha
Generalbinding power point slides in datagrid .net Pin
sandip manoj3-May-06 23:30
membersandip manoj3-May-06 23:30 
GeneralWant POwerPOint SLides in Vb.Net Pin
main hoona13-Dec-04 2:05
membermain hoona13-Dec-04 2:05 
GeneralNo event notification from Power Point Pin
DineshT11-Nov-02 0:57
sussDineshT11-Nov-02 0:57 
GeneralUnhandled exception Pin
Ronny12-Jun-02 20:41
memberRonny12-Jun-02 20:41 
GeneralRe: Unhandled exception Pin
James Coleman13-Jun-02 7:42
memberJames Coleman13-Jun-02 7:42 
GeneralRe: Unhandled exception Pin
Ronny14-Jun-02 9:38
memberRonny14-Jun-02 9:38 
Questionwhere are the settings.xml? Pin
bryanli23-May-02 22:17
memberbryanli23-May-02 22:17 
Answercontents of settings.xml Pin
James Coleman28-May-02 3:48
memberJames Coleman28-May-02 3:48 
GeneralError link code!! Pin
Agus Kurniawan18-Apr-02 17:26
memberAgus Kurniawan18-Apr-02 17:26 
GeneralRe: Error link code!! Pin
James Coleman19-Apr-02 5:02
memberJames Coleman19-Apr-02 5:02 
GeneralRe: Error link code!! (Sorry) Pin
Agus Kurniawan20-Apr-02 5:42
memberAgus Kurniawan20-Apr-02 5:42 

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.

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