Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Microsoft Interop 64bit

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

860 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