Re: Windows.Forms equired for printing?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 11/29/04


Date: Mon, 29 Nov 2004 10:11:07 -0500

Phill,

    That's just the way that they distributed the classes, I would suppose.
The assembly has little to do with the namespace of a type. While it would
be nice that an assembly have some correlation between the namespace of the
types it contains, and the name, there is no set requirement for this.

-- 
               - Nicholas Paldino [.NET/C# MVP]
               - mvp@spam.guard.caspershouse.com
"Phill" <wackyphill@yahoo.com> wrote in message 
news:ac94631d.0411290649.37cb9147@posting.google.com...
> It seems a reference to System.Windows.Forms is required for printing
> to work. I tried printing in a console app w/o a rference to it and
> got garbage. Added the reference and it works now.
>
> Wierd, anyone seen this happen? Know why? 


Relevant Pages

  • Re: VS2005 C#: User Testing
    ... The type or namespace name 'Drawing' does not exist in the namespace ... 'System' (are you missing an assembly reference?) ... Run it again, as now it should find it as a resource, and not be trying ... Studio altogether, not knew to programming. ...
    (microsoft.public.vstudio.general)
  • VS2005 C#: User Testing
    ... The type or namespace name 'Drawing' does not exist in the namespace ... 'System' (are you missing an assembly reference?) ... essentially a sizable hint window. ... Run it again, as now it should find it as a resource, and not be trying ...
    (microsoft.public.vstudio.general)
  • Re: use-package & name conflict: why they are not deferred?
    ... All symbols in C++ are in fact in one global namespace. ... All names are strings in the BSS segment. ... When C++ compilers generate code for this kind of linkage, ... resolving a reference of an identifier to a symbol). ...
    (comp.lang.lisp)
  • Re: use-package & name conflict: why they are not deferred?
    ... All symbols in C++ are in fact in one global namespace. ... There are more quirks in the design. ... If a D object is accessed through a reference R to B, ... Ada doesn't inherit Pascal's WITH statement either. ...
    (comp.lang.lisp)
  • Re: Server Printing using Print Dialog
    ... that is because the namespace is defined within an assembly your ... You can send feedback directly to my manager at: ... normally I do not have to add a reference when using any of the ... Calling a dialog box on the server would pop a dialog box on ...
    (microsoft.public.dotnet.framework.aspnet)