Click here to Skip to main content
15,922,309 members
Home / Discussions / C#
   

C#

 
QuestionRe: hi, how can i read xmlnode in c#.net Pin
premkamalg13-Sep-06 1:09
premkamalg13-Sep-06 1:09 
AnswerRe: hi, how can i read xmlnode in c#.net Pin
Christian Graus13-Sep-06 10:29
protectorChristian Graus13-Sep-06 10:29 
GeneralHi,Christian,plz help me Pin
premkamalg13-Sep-06 17:50
premkamalg13-Sep-06 17:50 
GeneralRe: Hi,Christian,plz help me Pin
Christian Graus13-Sep-06 19:06
protectorChristian Graus13-Sep-06 19:06 
QuestionStackOverFlow(in advance plz) Pin
MozhdehQeraati12-Sep-06 20:02
MozhdehQeraati12-Sep-06 20:02 
AnswerRe: StackOverFlow(in advance plz) Pin
Guffa12-Sep-06 20:13
Guffa12-Sep-06 20:13 
Questionhow to find the printres connected in network Pin
ayyp12-Sep-06 19:40
ayyp12-Sep-06 19:40 
AnswerRe: how to find the printres connected in network Pin
freshonlineMax12-Sep-06 21:54
freshonlineMax12-Sep-06 21:54 
Hello
I can't remember all details now, but below code can help you.
Please add to your project PrintDocument Control from toolBox and name it printDoc.

<br />
using System.IO;<br />
using System.Drawing.Printing;<br />
using System.DirectoryServices;<br />
<br />
string strDefaultPrinter = printDoc.PrinterSettings.PrinterName ;<br />
<br />
foreach(String strPrinter in PrinterSettings.InstalledPrinters)<br />
{<br />
 listboxPrinters.Items.Add(strPrinter);<br />
 if (strPrinter == strDefaultPrinter)<br />
 {<br />
   labelSysDefPrinter.Text = strPrinter ;<br />
 }<br />
}<br />


but notice that I think you should first add network printers from Start Menu \ Printers and Faxes.
GeneralRe: how to find the printres connected in network Pin
ayyp12-Sep-06 23:26
ayyp12-Sep-06 23:26 
Questionnew submenu Pin
sarojkumarjena12-Sep-06 18:35
sarojkumarjena12-Sep-06 18:35 
AnswerRe: new submenu Pin
Christian Graus12-Sep-06 18:38
protectorChristian Graus12-Sep-06 18:38 
GeneralRe: new submenu Pin
sarojkumarjena12-Sep-06 18:54
sarojkumarjena12-Sep-06 18:54 
GeneralRe: new submenu Pin
Christian Graus12-Sep-06 18:56
protectorChristian Graus12-Sep-06 18:56 
GeneralRe: new submenu Pin
sarojkumarjena12-Sep-06 19:01
sarojkumarjena12-Sep-06 19:01 
GeneralRe: new submenu Pin
Christian Graus12-Sep-06 19:06
protectorChristian Graus12-Sep-06 19:06 
QuestionCreate Check box in grid Colunm Header (Win Form) Pin
kakarato12-Sep-06 18:34
kakarato12-Sep-06 18:34 
QuestionDynamic controls on windows forms Pin
saud_a_k12-Sep-06 17:52
saud_a_k12-Sep-06 17:52 
AnswerRe: Dynamic controls on windows forms Pin
Christian Graus12-Sep-06 18:06
protectorChristian Graus12-Sep-06 18:06 
QuestionRe: Dynamic controls on windows forms Pin
saud_a_k12-Sep-06 18:11
saud_a_k12-Sep-06 18:11 
AnswerRe: Dynamic controls on windows forms Pin
Christian Graus12-Sep-06 18:35
protectorChristian Graus12-Sep-06 18:35 
QuestionText Box Multiple Output Variables Pin
Bobbydoo812-Sep-06 16:18
Bobbydoo812-Sep-06 16:18 
AnswerRe: Text Box Multiple Output Variables Pin
Sean Wcisel12-Sep-06 16:37
Sean Wcisel12-Sep-06 16:37 
GeneralRe: Text Box Multiple Output Variables Pin
Bobbydoo813-Sep-06 4:45
Bobbydoo813-Sep-06 4:45 
QuestionImplementing recursion through directories Pin
Sean Wcisel12-Sep-06 15:48
Sean Wcisel12-Sep-06 15:48 
AnswerRe: Implementing recursion through directories Pin
Guffa12-Sep-06 19:01
Guffa12-Sep-06 19:01 

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.