Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have created a application to print documents with preview dialog.When i run my application it will print the document with default printer. Now i want to give option to the user to change the printer while printing using c# can someone please help me
thanks
Please have a look at the below link, it might be useful.
http://caioproiete.net/en/programatically-change-the-default-printer-on-windows-usin-csharp/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a console app. This app first asks for name then you input your info and then it asks for the password. Now I want to do this automaticly with c#. Basically I want to start the process and automaticly input my name and then press enter and then input the password. I have found lots of information on how to add one argument but that is not what im looking for.
You need to set RedirectStandardIn in the ProcessStartOptions, then write to the Process' StandardInput stream.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to ask a question. I am getting the data from database and when I write the texbox I want to add nearby entries under the textbox. Like searching on google. Sorry if there is any answer in forum. I don't know how i can search it on google.
It sounds like you want an AutoComplete textbox
http://www.c-sharpcorner.com/uploadfile/dpatra/auto-complete-box-in-wpf-toolkit/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
What is the formula for converting UPC-E barcodes to UPC-A barcodes? Better yet would be some C# code, C#esque pseudocode, or even just in an "English" expository way.
Ctrl+F for "Converting UPC-A to UPC-E" at http://www.taltech.com/barcodesoftware/symbologies/upc . It explains all the cases in a better format than I can paste here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I've tried the DriveDetector on codeproject but it doesn't work on another thread/on console, is there another way??
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
what is the code in C# for printing a form in the application?
Use both a PrintDialog and Printing the Current Form from C#: http://msdn.microsoft.com/en-us/library/aa287529(VS.71).aspx
Use
PrintDialog
class.
For code sample see Printing Using C#