Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
kssknov7-Apr-08 1:42
kssknov7-Apr-08 1:42 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
Ashfield7-Apr-08 1:50
Ashfield7-Apr-08 1:50 
GeneralRe: C#:How to load max no of records in a combobox(more than 40000) Pin
darkelv7-Apr-08 2:36
darkelv7-Apr-08 2:36 
QuestionVery trivial question.. Pin
ptr2void7-Apr-08 0:51
ptr2void7-Apr-08 0:51 
GeneralRe: Very trivial question.. Pin
Xmen Real 7-Apr-08 0:59
professional Xmen Real 7-Apr-08 0:59 
QuestionRe: Very trivial question.. Pin
ptr2void7-Apr-08 1:08
ptr2void7-Apr-08 1:08 
GeneralRe: Very trivial question.. Pin
Xmen Real 7-Apr-08 1:18
professional Xmen Real 7-Apr-08 1:18 
GeneralProblem with printdialog Pin
D i x y7-Apr-08 0:31
D i x y7-Apr-08 0:31 
Hello friends i am developing an application in which there is printing option...
The printing option is working well but the problem is when the printdialog shows and by default the numbers of copies is 1 and if i increase the numbers of copies 2 or 3 then its only print one copy only why number of copies option is not working....

CODE

int count = Application.OpenForms.Count;<br />
                    for (int i = 1; i < count; i++)<br />
                    {<br />
                        PrintDialog myPrintDialog = new PrintDialog();<br />
                        memoryImage = new System.Drawing.Bitmap(panel1.Width, panel1.Height);<br />
                        panel1.DrawToBitmap(memoryImage, panel1.ClientRectangle);<br />
                        if (myPrintDialog.ShowDialog() == DialogResult.OK)<br />
                        {                           <br />
                            myPrintDialog.Document = printDocument1;                            <br />
                            printDocument1.PrintController = new StandardPrintController();<br />
                            printDocument1.Print();<br />
                        }<br />
                        printDocument1.Dispose();<br />
                    }

GeneralRe: Problem with printdialog Pin
Xmen Real 7-Apr-08 0:53
professional Xmen Real 7-Apr-08 0:53 
GeneralRe: Problem with printdialog Pin
D i x y7-Apr-08 1:31
D i x y7-Apr-08 1:31 
GeneralRe: Problem with printdialog Pin
Xmen Real 7-Apr-08 1:40
professional Xmen Real 7-Apr-08 1:40 
QuestionAdding hex values Pin
ONeil Tomlinson7-Apr-08 0:23
ONeil Tomlinson7-Apr-08 0:23 
GeneralRe: Adding hex values Pin
Christian Graus7-Apr-08 0:25
protectorChristian Graus7-Apr-08 0:25 
GeneralRe: Adding hex values Pin
ONeil Tomlinson7-Apr-08 3:07
ONeil Tomlinson7-Apr-08 3:07 
GeneralRe: Adding hex values Pin
Dave Kreskowiak7-Apr-08 4:19
mveDave Kreskowiak7-Apr-08 4:19 
GeneralGet the SID of the user last wrote to a file Pin
Yevgeny Efter6-Apr-08 23:58
Yevgeny Efter6-Apr-08 23:58 
GeneralRe: Get the SID of the user last wrote to a file Pin
Christian Graus7-Apr-08 0:24
protectorChristian Graus7-Apr-08 0:24 
GeneralRe: Get the SID of the user last wrote to a file Pin
Yevgeny Efter7-Apr-08 0:32
Yevgeny Efter7-Apr-08 0:32 
QuestionHow to add a custom right click to a data grid view cell in C# windows application? Pin
anshulmadan6-Apr-08 21:17
anshulmadan6-Apr-08 21:17 
GeneralRe: How to add a custom right click to a data grid view cell in C# windows application? Pin
phannon866-Apr-08 21:54
professionalphannon866-Apr-08 21:54 
GeneralDetecting if port is listening Pin
picasso26-Apr-08 19:20
picasso26-Apr-08 19:20 
GeneralRe: Detecting if port is listening Pin
stancrm6-Apr-08 20:54
stancrm6-Apr-08 20:54 
Questionhow to test a webservice in local network??? Pin
syamooo6-Apr-08 18:59
syamooo6-Apr-08 18:59 
GeneralRe: how to test a webservice in local network??? Pin
Christian Graus6-Apr-08 19:18
protectorChristian Graus6-Apr-08 19:18 
GeneralRe: how to test a webservice in local network??? Pin
Rob Philpott6-Apr-08 22:34
Rob Philpott6-Apr-08 22:34 

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.