Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8615851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:28:52+00:00 2026-06-12T05:28:52+00:00

I have been trying to work out the best way for a power point

  • 0

I have been trying to work out the best way for a power point to be shown on a Intranet. The users in the company will not be very technical and might not follow the processes I will describe.

I found this page

Which shows how to convert a power point in to a html page which can be viewed. I was wanting to know if there is some way to automate this process. Such as a file watcher watching the location it will saved and then as soon as it is seen automatically changes this to a html using the code provided on the page I gave. Preferred language to use would be VB.NET.

I am happy for any suggestions that people can give.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:28:54+00:00Added an answer on June 12, 2026 at 5:28 am

    I’ve used the:

    Imports PowerPoint = Microsoft.Office.Interop.PowerPoint
    

    to be able to automatically change a power point in to a HTML. I’ve used a file watcher to watch a directory on my computer to look out for power point presentations at the moment it is only set to .pptx however I’ll change this to add other formats soon. This fileWater is sat on a service that starts up when the computer does. It then looks to see if a powerpoint has been created or modified and runs this code:

    Private Shared Sub OnChanged(ByVal source As Object, ByVal e As FileSystemEventArgs)
        'set varaibles so that html can save in correct place
        Dim destinationDirectory As String = e.FullPath.Replace(e.Name.ToString(), "")
        Dim sourceLocation As String
        Dim fileName As String
        'couple of if statements to get rid of unwanted characters
        If e.Name.Contains("~$") Then
            fileName = e.Name.Replace("~$", "")
            fileName = fileName.Replace(".pptx", ".html")
        Else
            fileName = e.Name
            fileName = fileName.Replace(".pptx", ".html")
        End If
    
        If e.FullPath.Contains(("~$")) Then
            sourceLocation = e.FullPath.Replace("~$", "")
        Else
            sourceLocation = e.FullPath
        End If
    
        Dim strSourceFile As String = sourceLocation 'set source location after removing unwanted characters
        Dim strDestinationFile As String = destinationDirectory & fileName 'set the destination location with the directory and file name
        'set ppAPP to a power point application
        Dim ppApp As PowerPoint.Application = New PowerPoint.Application
        Dim prsPres As PowerPoint.Presentation = ppApp.Presentations.Open(strSourceFile, MsoTriState.msoTrue, MsoTriState.msoFalse, MsoTriState.msoFalse)
        'Call the SaveAs method of Presentaion object and specify the format as HTML
        prsPres.SaveAs(strDestinationFile, PowerPoint.PpSaveAsFileType.ppSaveAsHTML, MsoTriState.msoTrue)
        'Close the Presentation object
        prsPres.Close()
        'Close the Application object
        ppApp.Quit()
    
    End Sub
    

    This gets the file which has been modified and saves it as a html document. It will also get the files needed to run so if any animations have been saved it will also keep those.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I have been trying to work out the best way to do this
Ive been trying to work out the best way to implement this query for
I have been trying to figure out the best way to start working on
So I have been trying to figure out the best way to go about
I have been trying to figure out the best way to include my PDO
Okay I been trying to work this out but unable too. I have a
I have been pulling my hair out trying to make this work. I have
I am trying to work out the best way to design a class that
I'm trying to work out the best way to weight my products and which
I've been trying to figure out the best way to model this entity, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.