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 7847465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:54:21+00:00 2026-06-02T17:54:21+00:00

Anyone know how to make one or how to download a control to view

  • 0

Anyone know how to make one or how to download a control to view powerpoint documents?

I’ve searched, but the only thing that comes up is this, which is decidedly not free. I’m sure Microsoft must have a control that does this already.

Make one control to do that it also welcome.

  • 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-02T17:54:23+00:00Added an answer on June 2, 2026 at 5:54 pm

    Here have the solution to the problem i have looking after.
    If anyone has the same problem i leave here the solution made by me after many hours of work.

            [DllImport("user32.dll", EntryPoint = "FindWindow", SetLastError = true)]
            static extern IntPtr FindWindow(IntPtr ZeroOnly, string lpWindowName);
    
            [DllImport("user32.dll", SetLastError = true)]
            static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent);
    
            [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
            public static extern bool SetWindowText(IntPtr hwnd, String lpString);
    
    
            private string FileName = "";
            PowerPoint.Application application;
            PowerPoint.Presentation presentation;
            bool flag = false;
    
            public UserControl1()
            {
                InitializeComponent();
            }
    
    
            public void open()
            {
                sair();
    
                openFileDialog1.Filter = "Powerpoint file (*.ppt)|*.ppt|All files (*.*)|*.*";
    
                if (openFileDialog1.ShowDialog() == DialogResult.OK)
                {
                    FileName = openFileDialog1.FileName;
    
                    IntPtr screenClasshWnd = (IntPtr)0;
                    IntPtr x = (IntPtr)0;
    
                    flag = true;
    
                    application = new PowerPoint.Application();
                    presentation = application.Presentations.Open2007(FileName, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoTrue);
                    PowerPoint.SlideShowSettings sst1 = presentation.SlideShowSettings;
    
    
                    sst1.ShowType = (PowerPoint.PpSlideShowType)1;
                    PowerPoint.SlideShowWindow sw = sst1.Run();
    
    
                    sw.Height = (panel1.Height) - 64;
                    sw.Width = (panel1.Width) - 130;
    
                    IntPtr formhWnd = FindWindow(x, "Form1");
                    IntPtr pptptr = (IntPtr)sw.HWND;
                    screenClasshWnd = FindWindow(x, "screenClass");
                    SetParent(pptptr, panel1.Handle);
    
                    this.Focus();
    
                    this.application.SlideShowEnd += new Microsoft.Office.Interop.PowerPoint.EApplication_SlideShowEndEventHandler(SlideShowEnds);
                }
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know how to make it so that when there are multiple records
Does anyone know of a good .Net2.0+ compatible dual listbox control that either offers
does any one know how to make the slide to left effect like in
Does anyone know how to make entity_id visible on the frontend as a sortable
Does anyone know I can make min-height work with the latest browsers? I am
Does anyone know how to make labels, or text, smoother? At the moment they
Anyone know how I can make a login button in Ruby on Rails for
Anyone know if it is possible to make the PeriodicalUpdater pass the data it
Do anyone know a way to make: com.mchange.v2.c3p0.management.ManagementCoordinator=com.mchange.v2.c3p0.management.NullManagementCoordinator using Spring and not a c3p0.properties
Does anyone know how you can make a cocoa sheet with rounded corners like

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.