(are you missing an assembly reference?)C:\Documents and Settings\mostafa\My Documents\Visual Studio 2008\search_last\search\App_Code\Office.cs1 33 98 search
using Microsoft.Office; using Microsoft.Office.Interop.Word; using Microsoft.Office.Interop.Excel; using Visio = Microsoft.Office.Interop.Visio; using VisioWeb = Microsoft.Office.Interop.Visio.SaveAsWeb; using PowerPoint = Microsoft.Office.Interop.PowerPoint;
presentation = powerPoint.Presentations.Open(refSourceFileName, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse); presentation.SaveAs(newRefTargetDirectory, PowerPoint.PpSaveAsFileType.ppSaveAsHTML, Microsoft.Office.Core.MsoTriState.msoCTrue);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)