QUOTE(skaoth @ 17 Apr, 2008 - 01:06 AM)

I assume that this is a winform application? if not then my code example will not work. If it is then you need to make sure that you drag and drop a WebBrowser control onto the form that will be displaying the ppt file.
the code this.webBrowser1 = new System.Windows.Forms.WebBrowser(); will be done for you behind the scene when you drop the control on the form.
The webbrowser control as far as I know uses the IE renedering engine. Also I think you have to have Powerpoint installed or powerpointview (not sure about this one) for this to work
because IE uses ActiveX to render office documents in IE.
Sorry, I should have given you more details initially. This is a C# windows form application. I have droped a webrowser in to the form. It is called: webBrowser1. When the code is run it brings up a dialog box giving me three options (open, save, cancle) If i select open an error message occurs saying the file (c:/.../BankAccounts.ppt) is not a valid Win32 Application. And that is where I sit? Thanks for the help so far!
CODE
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Web;
using System.IO;
private void button2_Click(object sender, EventArgs e)
{
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
// To open up your ppt. just navigate to the location of the ppt file
webBrowser1.Navigate("C:/Users/Rusty/Desktop/NT/SizeTester/SizeTester/bin/Debug/BankAccounts.ppt");
}
Rusty