473,395 Members | 1,443 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,395 software developers and data experts.

Windows.Forms equired for printing?

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?
Nov 16 '05 #1
2 976
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]
- mv*@spam.guard.caspershouse.com

"Phill" <wa********@yahoo.com> wrote in message
news:ac**************************@posting.google.c om...
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?

Nov 16 '05 #2
> 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.

I don't get how that correlates??

Perhaps I'm being unclear. It's not like it doesn't compile or throws
an exception. The program procedes just fine weather you reference
Windows.Forms or not. It simply does not output correctly unless you
include the reference which makes no sense since I'm not using any
classes in that dll.
Nov 16 '05 #3

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

Similar topics

6
by: Ayende Rahien | last post by:
Excetremely annoying problem, I've an application with a long startup time. So I created another form with my logo in it to as a splash screen. The splash screen is run from another thread and is...
0
by: Nigel | last post by:
I successfully create a .NET Component (Visual Basic .NET) that would print, unfortunately when used within a web browser it appears that .NET security doesn't allow you to run code that interacts...
0
by: Chad | last post by:
Hello Everybody, I am trying to update a few textboxes automatically in vb.net. I have a timer updating the variables which are assigned to the textbox.text attribute, I would like to have the...
6
by: dcbud | last post by:
I'm hoping to get a response from developers with experience in both developing applications for Windows and the Web using VS.NET2005. I'm looking for input as to why we would want to develop a web...
3
by: dcbud | last post by:
I'm hoping to get a response from developers with experience in both developing applications for Windows and the Web using VS.NET2005. I'm looking for input as to why we would want to develop a web...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
2
by: Budhi Saputra Prasetya | last post by:
Hi, I managed to create a Windows Form Control and put it on my ASP .NET page. I have done the suggestion that is provided by modifying the security settings. From the stack trace, I would...
0
by: Budhi Saputra Prasetya | last post by:
Hi, I still have the same problem with embedding Windows Control. I'll just requote what I posted last time: I managed to create a Windows Form Control and put it on my ASP .NET page. I...
7
by: Daniel | last post by:
Hello! I am having a problem with a windows application that abnormally terminates itself. The application is a multi threaded .NET 1.1 application, and can briefly be described as follows: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.