Solved

Microsoft Interop 64bit

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now