Solved

System.Printing not found

Posted on 2012-04-11
2
508 Views
Last Modified: 2012-04-11
I am wrinting a MS Word Addin using .Net 4.0 that requires access to System.Printing.  However I can't resolve the reference to System.Printing.  In the following code sample everything is happy except 'using System.Printing' which is highlighted as an error.  Help please!

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Printing;
using Word = Microsoft.Office.Interop.Word;
using Office = Microsoft.Office.Core;
using Microsoft.Office.Tools.Word;
using Microsoft.Office.Tools.Word.Extensions;

namespace APTWord2010MWB
{
    public partial class ThisAddIn
    {
        ...............
0
Comment
Question by:PeterC_UK
2 Comments
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37832200
Simply add reference to System.Printing from Add Reference option in VS.
0
 

Author Closing Comment

by:PeterC_UK
ID: 37832352
Thank you - As a C++ programmer this is a first c# .Net project so have some learning to do :-)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to read json value 2 48
Visual Studio TFS - how do I check in my code? 2 36
Javascript to set controls visibility 5 32
Search an image for an image 3 27
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

786 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