Click here to Skip to main content
16,005,281 members
Home / Discussions / C#
   

C#

 
AnswerRe: ADO.net: How to omit Columns from a DataTable in a DataGridView??? Pin
ChrisKo18-Jan-08 11:04
ChrisKo18-Jan-08 11:04 
AnswerRe: ADO.net: How to omit Columns from a DataTable in a DataGridView??? Pin
dergunnar18-Jan-08 12:44
dergunnar18-Jan-08 12:44 
GeneralDrawing Circle and picture in that Pin
alishazdeh18-Jan-08 9:48
alishazdeh18-Jan-08 9:48 
GeneralRe: Drawing Circle and picture in that Pin
Ennis Ray Lynch, Jr.18-Jan-08 9:54
Ennis Ray Lynch, Jr.18-Jan-08 9:54 
GeneralDataSet Pin
simworld18-Jan-08 9:44
simworld18-Jan-08 9:44 
GeneralRe: DataSet Pin
PIEBALDconsult18-Jan-08 9:49
mvePIEBALDconsult18-Jan-08 9:49 
GeneralRe: DataSet Pin
simworld19-Jan-08 8:26
simworld19-Jan-08 8:26 
GeneralPrint Preview in landscape Pin
Christian Graus18-Jan-08 9:21
protectorChristian Graus18-Jan-08 9:21 
My print preview code looks like this:

PrintPreviewDialog dlg = new PrintPreviewDialog();
dlg.Owner = Application.OpenForms[0];
printDocument.DocumentName = file;
printDocument.PrinterSettings.DefaultPageSettings.Landscape = true;
dlg.Document = printDocument;
dlg.ShowDialog();

The setting is never turned off from landscape, and yet, the printing is landscape, and the print preview isn't. I've done some googling, but I can't see any further info on this, or any reason why it's not working ?

Christian Graus - Microsoft MVP - C++

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Print Preview in landscape Pin
Luc Pattyn18-Jan-08 10:17
sitebuilderLuc Pattyn18-Jan-08 10:17 
GeneralRe: Print Preview in landscape Pin
Christian Graus18-Jan-08 10:28
protectorChristian Graus18-Jan-08 10:28 
Questionhow objects use memory Pin
netJP12L18-Jan-08 8:52
netJP12L18-Jan-08 8:52 
AnswerRe: how objects use memory Pin
Christian Graus18-Jan-08 9:06
protectorChristian Graus18-Jan-08 9:06 
AnswerRe: how objects use memory Pin
ChrisKo18-Jan-08 9:09
ChrisKo18-Jan-08 9:09 
AnswerRe: how objects use memory Pin
Ennis Ray Lynch, Jr.18-Jan-08 9:55
Ennis Ray Lynch, Jr.18-Jan-08 9:55 
GeneralWeb browser events Pin
Christian Graus18-Jan-08 6:51
protectorChristian Graus18-Jan-08 6:51 
GeneralRe: Web browser events Pin
eggsovereasy18-Jan-08 7:40
eggsovereasy18-Jan-08 7:40 
GeneralRe: Web browser events Pin
Christian Graus18-Jan-08 9:02
protectorChristian Graus18-Jan-08 9:02 
GeneralRe: Web browser events Pin
ChrisKo18-Jan-08 7:44
ChrisKo18-Jan-08 7:44 
GeneralRe: Web browser events Pin
Christian Graus18-Jan-08 9:02
protectorChristian Graus18-Jan-08 9:02 
GeneralWeb Service Reference Pin
ss.mmm18-Jan-08 4:37
ss.mmm18-Jan-08 4:37 
Generalgraphicspath addstring problem Pin
Try18-Jan-08 2:43
Try18-Jan-08 2:43 
GeneralRe: graphicspath addstring problem Pin
Try18-Jan-08 3:17
Try18-Jan-08 3:17 
GeneralRe: graphicspath addstring problem Pin
Mike Hankey18-Jan-08 4:52
mveMike Hankey18-Jan-08 4:52 
GeneralWrite program to demo CSMA/CD in the Ethernet by C#............ Pin
thucbv18-Jan-08 2:35
thucbv18-Jan-08 2:35 
GeneralRe: Write program to demo CSMA/CD in the Ethernet by C#............ Pin
thucbv18-Jan-08 2:37
thucbv18-Jan-08 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.