office

Problems with office automation in asp.net. I can use alternatives such as open-office, if I knew how xD

I have a ASP.NET 2.0 web application that should upload a ppt file and then extract its slides to images. For that I have imported office.dll and Microsoft.Office.Interop.PowerPoint.dll assemblies and wrote the following code public static int ExtractImages(string ppt, string targetPath, int width, int height) { var pptAppli...

Using Office 2007 extension (i.e. docx) for skin based On-Screen keyboard.

Hi guys, I'm creating a On-Screen keyboard for my application, and it supports skins as well. Here's what I'm doing with the skins, I have a folder which contains some images and a xml file which maps the images to the keyboard, I want to be able to have the folder as a zip file like in Office 2007 (.docx) and iPhone firmwares (.ipsw), I...

VSTO Outlook : How to add a group into a build in tab ?

I wanna ad a group on the main tab of compose mail, like in this picture. ...

Preview an Office document in a userform

How can this be achieved? Just show a small preview of an office document without actually opening it. Office does it on it's own when you are trying to open a file, but i need a userform that can do that. Thanks. ...

How do I deploy a word template solution and run it regardless of it's location?

Hi, I'm trying to deploy a Word Template solution that uses VSTO with VS2010. Everything goes well until I try to move the template file away from the folder that has the assemblies (then I get a "failed to customization error"). What is the best way to make sure that file knows where the assemblies are? Should I update the _Assem...

Convert Office Documents without Office

We are in need of converting all MS Office documents to PDF, TIF, or any similar image format with no loss in formatting (these are official documents that cannot have tampering). Is there any way to do this without installing Office on the machine that would do this? Ideally, this would go on a server and run multi-threaded without th...

Excel 2007 - Worksheet is larger than the window

Hi This is an odd problem but frustrating none the less. I have a worksheet saved which is larger than the Excel 2007 "workarea". This means when I open the worksheet I cannot access the corners of the worksheet to reduce the size and the worksheets title bar area (with move,size,minimise etc) is hidden beneath the ribbon , even if I...

How to determine if VSTO 2010 Runtime is Installed?

It was easy to check if VSTO 2005 SE was installed by just calling MsiGetProductInfo() with the product code {388E4B09-3E71-4649-8921-F44A3A2954A7}, as listed in MSDN. What is the product code for the VSTO 2010/4.0 runtime? Or is there a better way to determine if it's already installed? This is for our installation process. Thanks!...

Using "wildcards" in a vlist array to delete rows in Excel

Good Morning All, I'm trying to setup a vba macro to delete all user IDs out of a spreadsheet that do not start with designated prefixes (e.g. US, A1, VM, etc). The below block of code was found on the Code Library and looks to be what I need but there is one problem: When I enter in UserID prefixes into the vlist fields, it treats them...

What is the most elegant solution for generating PowerPoint slides online?

I would like some advice on the following please. We have an ASP.net site where we need to generate PowerPoint slides of the data. The slides will need to include charts and tables. I have come across Aspose.Slides online which seems a good option Is this the best solution for this? What are your experiences with Aspose.Slides? Are th...

Search for dates in excel

Hello, I have dates in an excel field of these formats, 01-jan-10, 02/02/05. I formated the cells to 03-mar-2010. I did a find such as 03-mar-2010 does not turn up any result. Any reason to why. Thanks Jean ...

Visio COM Add-in question.

I was installing an Add-in to Microsoft Visio. The Add-in gets installed on the development PC and target PCs. I didn't do anything related to trusting of the Add-in or the CAS related settings as described in some of the VSTO Add-in pages or common Add-in related pages. I was able to see the Add-in listed in the Trust Center with the ty...

Output excel spreadsheets with or without Office PIA

I have a program that currently outputs Excel via SpreadsheetML files. I build these using streams. This is very space inefficient for Excel; the files can be 5 to 6 times as large as other Excel binary formats. I would like to output a binary excel format such as .xls or .xlsx, but I don't want to have the installation of the program...

Word Interop compile time error

I am getting the following error when referencing the assembly Microsoft.Office.Interop.Word in my asp.net application. The type 'Microsoft.Office.Interop.Word.ApplicationClass' exists in both 'C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Word\11.0.0.0_71e9bce111e9429c\Microsoft.Office.Interop.Word.dll' and 'C:\WINDOWS\assembly\GAC...

Outlook Crashes with Event ID 1000

We deployed a VSTO addin for outlook 2003. After installing the addin one of the user's outlook crashes when a contact is opened, i.e, when ItemProperties of the contact are read.Some theses properties are read using MAPI.There is no exception being logged even though we have try/catch and logging in all methods. The event log has follo...

Can I embed an exe in a pdf, doc, ppt or any other file format?

Is there any way that I can embed a .exe file in a .pdf, .doc, .xls, .ppt file, and on opening the containing file, the document processor will run the .exe automatically? ...

Does VSTO run on Windows Azure?

I have a Web application which will be deployed to Windows Azure and I'm looking for alternatives to generate Excel spreadsheets. Can I use VSTO to programatically generate an Excel spreadsheet in a Web Role running on Windows Azure?... If yes, how should I deploy the application to Windows Azure? What assemblies should I include? Than...

XBAP partial trust and Microsoft Office

I need to open a MS word document on the disk from a XBAP in partial trust. Is this possibly at all? I have the word doc on the server. Just getting it on the local disk is that possibly. Would a work around be to have some HTML link or web page in the XBAP, s the user could right click and save as. ...

MS Word like Editor without using office libraries

Is it possinle to create an editor in c# without using office libraries which should includes all the features of a Dic file including tagging fascility. please suggest? ...

Office Communicator Auto Accept Calls with C# API

Is there a way to automatically accept calls programmed with the C# Api when someone calls 'me' to start a video call? Starting a video call with the API is easy: var contactArray = new ArrayList(); contactArray.Add("[email protected]"); object[] sipUris = new object[contactArray.Count]; int currentObject = 0; foreach (object contactObject...