office-2003

MS Word 03 - Terribly simple question about turning off the squiggly lines for code

So I am making documents with code examples in word. The squiggly lines....how do I turn off the red and green lines that appear under the grammer and spelling errors?? Sorry I know its simple for this forum, but I don't know how to do it! Thanks Justin ...

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...

how to use php to include an image in a word file?

Hi all! Somebody has asked me to make an app in php that will generate a .doc file with an image and a few tables in it. My first approach was: <?php function data_uri($file, $mime) { $contents = file_get_contents($file); $base64 = base64_encode($contents); return ('data:' . $mime . ';base64,' . $base64); } $file = 'new.doc...

Deploy VSTO Document solution to Excel 2003

We have an Excel workbook which has c# VSTO code in it and two .NET DLLs that sit behind it. The spreadsheet used to work for all users in the organisation. Recently our IT department had a problem with the OU which deleted all user accounts. The accounts were restored but since then users in our London office have not had the added fun...

Visual Studio 2008 and Office 2003

I have been interested in using the VSTO but I am running Visual Studio 2008 and I have Office 2003. I know it is possible to use VSTO 2005 SE for Office 2003 but I can't find any information on programming Office 2003 with VS2008. Is this possible? If so how do I do it? ...

Retrieving the COM class factory for component with CLSID {00020906-0000-0000-C000-000000000046} failed due to the following error: 80070005

Hi, I am getting the above mentioned error when my web service tries to open MS word document programatically through my .net webb service. When I run web service through visual studio, it works fine but when I deploy web service on IIS 7, I get the error Retrieving the COM class factory for component with CLSID {00020906-000...

What is the use of MS Office related lockbackreg.msi?

I recently noticed that a installer file named lockbackreg.msi is included in a setup package that I use to install a large application on my machine. This file is said to be a MS .NET Update required by Office 2003 for addin functionality but I could not figure out the exact use of it. Does anyone has any information on why this file is...

How to get new mail using VS office tool

I'm writing an outlook addin office VS 2010 Office tools. Here I find a way to list of unread emails from Inbox, but I want to process only new mails. What I'm trying to do is - when an email comes with subject containing "my project", it should create a task. Here is my code void Application_NewMail() { string filter ...

Issue while establishing connection with excel

The below connection string establishes connection with excel file which has extension as '.xls' but same string throws an exception while opening a connection with file which has extension as .xlsx. Any idea? ConnectionString = Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Users\abcd\Desktop\demo.xls; Extended Properties=excel 8.0;...

VBA tab strip macros in Word 2003 lost in Word 2007

At wife's workplace, they use a Word template file with a customized strip of editing commands in MS Word 2003. This includes some macro VBA commands to create customized tables and stuff. They want to migrate to Word 2007, but the strip of commands does not follow and they cannot find it. Any ideas how to migrate a strip of commands ...

Creating a Word 2003 Add-In Toolbar

Hello, I have been perusing the internet in search of the best way to accomplish this, but have had no luck. If someone here has experience with Office add-ins, I would really appreciate any help, I'm not asking for a solution by any means, just assistance with which direction to take. The software I'm working on is primarily in VB.Net ...

Office 2003 interop with only Office 2010 installed

We have an application (.NET 2.0) that uses Outlook 2003 features (Microsoft Office 11.0 Object Library). My new computer has Windows 7 and Office 2010 installed, and the references don't work anymore (there's only Office 14 Object Library available). Is there any way to use Office 2003 dlls when Office 2010 is installed (I've heard th...

Open word 2003 (doc) file using open xml file format API

Hi, I would like to know whether its possible to open Open word 2003 (doc) file using open xml file format API? like office 2007. I have one windows service through which I am trying to open and edit doc files but getting lot of problems.I have posted question regarding that problem here but got no answer. After lot of googling, I c...

COM Exception (code 0x800A03EC) thrown when programmatically changing page breaks in VB.Net

I am attempting to use the VB.Net Excel COM interop to programmatically change the location of the first horizontal page break on an Excel spreadsheet being generated by the program. Code to do so is as follows: Dim range As Excel.Range xlActualWS.Activate() xlActualWS.PageSetup.PrintArea = "$A$1:$K$68" range = xlActualW...

VBA language reference for Office 2004

Office 2003 has such things as the Office 2003 Editions: Word VBA Language Reference. Is there such documentation for Office 2004 or is it assumed that the Office 2003 documentation covers Office 2004 adequately? ...

Is it possible to create ClickOnce-like functionality for an Excel 2003 addin ?

I'm working on an Excel 2003 addin (users will upgrade to newer Office, but not any time soon), and am wanting to use functionality to automatically check for a newer version, and deploy it if there is one. I can't use ClickOnce as that is Office 2007 (so VSTO v3) or better. I'd like to have some functionality that does this kind of ta...