473,387 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Cannot add MSWord reference

vul
I'm trying to add Microsoft Word 11.0 reference to the project. It adds with
a yellow mark and it doesn't bring anything in Object Browser.. I tried it
in VB 2005 and C# (VS 2005) on 2 machines (Windows XP Pro) with the same
result.
What's wrong?

Thank you
Al
Mar 3 '06 #1
3 1147
You need the Office primary interop assemblies.. google for them.

Then add references to the interop assemblies; the IDE can't properly
make these interops for you automatically.

Mar 3 '06 #2
vul
Thank you
I couldn't find anything about interop assemblies for 2005. All I found
about 2003. But in 2003 I have no problem.
So far I found a work around:
I created a new project in 2003 with nothing, added references I need, saved
it, opened in 2005 with conversion, saved it, opened both proj files
(existing one and new one) in Notepad.
Copy <COMReference Include... from a new file to existing one, saved. Then
when I opened a solution in VS2005, all references were there.

Regards,
Al

"Andy" <aj*****@alum.rit.edu> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
You need the Office primary interop assemblies.. google for them.

Then add references to the interop assemblies; the IDE can't properly
make these interops for you automatically.

Mar 3 '06 #3
vul
I found how to install Office primary interop and now everything is working
properly.
Thank you, Andy
Al

"Andy" <aj*****@alum.rit.edu> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
You need the Office primary interop assemblies.. google for them.

Then add references to the interop assemblies; the IDE can't properly
make these interops for you automatically.

Mar 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tom Gao | last post by:
hi guys I'm trying to export an aspx page to msword. ############# I know you can do Response.Clear(); Response.ContentType="application/msword";
7
by: lkr | last post by:
hi is there is anyway to capture the document events of a MSWord?eg:I have to handle the event awhen WM_KEYUP or anyother events will occur. give me a solution............ thanks in advance lkr
1
by: Jason Huang | last post by:
Hi, I have no problem in creating or modifying a word document in ASP.Net, using C#. However, I don't know how to export database in SQL 2000 or MSAccess to MSWord, given in the ASP.Net and C#...
2
by: sonic | last post by:
Hello, I've searched the web, and can't seem to find a good reference for msword ( content type ) formatting. I am presenting my information as microsoft word doc. I was able to format the text...
1
by: Sesha | last post by:
Hi all I want to use MSWord feature Symbol Dialog box (Insert->Symbol->)which also exists in MSExcel. I want to use this dialog box to be used in my VB.NET Applicaition. I am searching for past 2...
6
by: Peter | last post by:
I have to write a ASP.NET application that creates MSWord document from a template and populated with data from the webpage. (Templates can reside on the server or client's hard drive.) What is...
0
by: vul | last post by:
I'm trying to add Microsoft Word 11.0 reference to the project. It adds with a yellow mark and it doesn't bring anything in Object Browser.. I tried it in VB 2005 and C# (VS 2005) on 2 machines...
0
by: Staleb | last post by:
Hi I am using VS2003 and vb.net in my procject. One of my functions is to produce a MSWord on the Web-server, and through a VB-script save it localy on the clients computer. The problem is...
0
by: Ian | last post by:
I have an Access 2000 database, I want to put this on the end users PC’s that have some Access 2003 and some Access 2007 installed. When I open the MDB it all seems to work fine, when I convert my...
1
by: Matt Curreri | last post by:
I'm trying to automate the creation of a MSWord document with C#; however, when I start creating the MSWord document, I occassionly have a MSWord dialog box displaying a warning of low memory and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.