What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 55527 |  Welcome, Guest!   Register  Login
 Home > Forums > C# > Error in Automation. ...
Gudevg

Error in Automation.

Replies: 1 | Posted by: Gudevg on 4/25/2012 | Category: C# Forums | Views: 217 | Status: [Member] | Points: 10  


I am creating word file for automation process and i used namespace properly. but i get this error while compilation The type or namespace name 'Interop' does not exist in the namespace 'Microsoft.Office' (are you missing an assembly reference?)

I use this in namespace

 using Word = Microsoft.Office.Interop.Word;


Any one please help me to resolve this error?

Deepakkumar G.


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Dotnetrajanikanth
Dotnetrajanikanth  
Posted on: 4/25/2012 4:21:06 AM
Level: Starter | Status: [Member] | Points: 25

Go to solution explorer... on top click show all files icon.... then you can see references.... right click and add reference... in .net tab choose Microsoft.Interop.<what ever you want>.

Is this what you are looking for??

____________
www.flickr.com/photos/psdesigner/

Gudevg, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 1:48:44 PM