Solved

Microsoft Interop 64bit

Posted on 2010-09-06
3
265 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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

679 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