|
by: RBisch |
last post by:
I am finding that some of the properties off of the PrinterSettings object are misleading
For example,
When I test the CanDuplex on a printer I know duplexes, the property is false. Another one is DefaultPrinter, it is set to false when I know that I have that printer set as default (I verify via the "Printers and Fax" applet
Can anyone confirm or explain
TIA
|
by: Steve Hanna |
last post by:
I am having problems using the Printer Dialog to set PrinterSettings,
specifically the landscape property of the DefaultPageSettings. Here's the
code:
<code>
Private Sub GetPrinter(ByRef PrinterSettings as PrinterSettings, Landscape
as Boolean)
Dim pdiag As New PrintDialog
Dim pset As New PrinterSettings
pset.DefaultPageSettings.Landscape = Landscape
|
by: Jochen Kalmbach |
last post by:
Hello,
if an PrinterSettings-Instance is not set-up correctly (for example just
by using the default-constructor), then the "ToString()"_method will
throw an exception!
Unhandled Exception: System.ArgumentException: The value '0' is not a
valid value for the enum 'Duplex'.
|
by: Dennis Myrén |
last post by:
Hi.
I want to know why it is not possible to specify (or determine) the
capacity for a System.Collections.Specialized.StringCollection.
I guess the StringCollection would be the better choice over an
System.Collections.ArrayList
when there is only System.String instances to be stored in it.
The StringCollection provides only one undocumented constructur.
|
by: Dan |
last post by:
Hi,
Is it possible to iterate through a StringCollection ? I have the
following code but "row" always seems to contain the values of rowValues2
Thanks for any input,
Danny
|
|
by: trint |
last post by:
try
{
// Wait for the report to completely render.
if(m_numberOfPages < 1)
return false;
PrinterSettings printerSettings = new PrinterSettings();
printerSettings.MaximumPage = m_numberOfPages;
printerSettings.MinimumPage = 1;
printerSettings.PrintRange = PrintRange.SomePages;
printerSettings.FromPage = 1;
|
by: Juan Francisco Figueroa Perez |
last post by:
Hi all:
I have a StringCollection property like this:
public class FormExito : Form
{
................
................
private StringCollection FEditar;
|
by: Naz |
last post by:
Hi,
I am new in C# and converting a program from delphi to C#. I have to
store a list of strings in memory and also need to save the strings to
disk at the end. I use StringCollection and my program looks like
this...
stringCollection.Add("line1");
stringCollection.Add("line2");
stringCollection.Add("line3");
|
by: eSapient |
last post by:
I have a case where a C# dll is being consumed by an unmanaged C++
executable. One of the dll methods returns a StringCollection object. What
are the requirements for the C++ executable in terms of .h, .tlb files to be
included/imported, and the syntax for consuming the StringCollection object?
TIA.
|
by: =?Utf-8?B?RGF2aWQ=?= |
last post by:
I’m not sure how to feed PCL commands (i.e. “Ec&l1S”) thru the
PrinterSettings() function, but we have been successfully using the
PrinterSetting() properties and methods to successfully call on most of the
printer’s properties.
Our understanding was that by using the correct combination of “.Landscape”
and “.Duplex.Horizontal” properties, we would be able to accomplish the “flip
pages up”, in which the report is...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|