Solved

Microsoft Interop 64bit

Posted on 2010-09-06
3
262 Views
Last Modified: 2012-05-10
I have a 32 bit application running fine on Windows 2008 server, the problem comes when the app uses the Office.Interop.Word dll, are there known problems?

The error I get is unable to call method Add of content control

0
Comment
Question by:rocky050371
3 Comments
 
LVL 8

Accepted Solution

by:
TheMozz earned 500 total points
ID: 33612630
Is it a Windows Forms applicaiton, console app, asp.net app, etc? I have a windows forms app that uses an Access database (not my choice....) on a 64 bit system. Needless to say it no workey. I had to tell visual studio 2008 to build the assembly in 32 bit mode, delete the debug/release folders under the bin folder, and rebuild it. After that i had a 32 bit assembly that runs just fine.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 33617047
using a 3rd party product like http://www.aspose.com/categories/.net-components/aspose.words-for-.net/default.aspx solves a lot of problems when you need to interop Office.
0
 
LVL 1

Expert Comment

by:supersugar
ID: 33623622
Try add-in express.
or
Try set the Reference properties "Specific Version " to False.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Creating a route in asp.net webforms 2 28
RUNRMTCMD from AS/400 12 47
Modal Popup Extender control 1 22
SQL Server Connection String through a VPN 8 29
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question