Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: Picturebox question Pin
MarkB7776-May-08 15:05
MarkB7776-May-08 15:05 
QuestionPrompt user for Input Pin
Thomas Toh5-May-08 19:04
Thomas Toh5-May-08 19:04 
AnswerRe: Prompt user for Input Pin
Christian Graus5-May-08 19:09
protectorChristian Graus5-May-08 19:09 
GeneralRe: Prompt user for Input Pin
Thomas Toh5-May-08 19:15
Thomas Toh5-May-08 19:15 
GeneralRe: Prompt user for Input Pin
Christian Graus5-May-08 20:07
protectorChristian Graus5-May-08 20:07 
QuestionCreating wrapper class dynamically Pin
Member 40084925-May-08 18:07
Member 40084925-May-08 18:07 
AnswerRe: Creating wrapper class dynamically Pin
Vikram A Punathambekar5-May-08 20:52
Vikram A Punathambekar5-May-08 20:52 
QuestionPossible to map printers from print server with C#? Pin
Jacob Dixon5-May-08 16:20
Jacob Dixon5-May-08 16:20 
I see a lot of VBscripts that map printers from a network drive/print server. My question is if this is possible with C#. I am more familiar with C# and not VB. At work we want to add a logon script (or have a console app pop up and automatically do this) and we want it to map all the network printers from our print server on the users computer (at each login).

I see how to manually map the printers with VBscript but the problem with this is if we delete a printer or rename it then we have to change the script.

If we have it delete the currently mapped printers and remap all the printers from the print server then we wouldn't have to worry about it. So can this be done with C# or is this a VBscript thing? I have asked this question in the VB form about doing it in VB but now I'm asking here to see if it is possible to do it with C# in a console app or something.
AnswerRe: Possible to map printers from print server with C#? Pin
chitosan8-Feb-09 4:35
chitosan8-Feb-09 4:35 
QuestionUnauthorizedAccessException.. Pin
mahi2435-May-08 14:48
mahi2435-May-08 14:48 
AnswerRe: UnauthorizedAccessException.. Pin
Christian Graus5-May-08 15:07
protectorChristian Graus5-May-08 15:07 
GeneralRe: UnauthorizedAccessException.. Pin
mahi2435-May-08 16:55
mahi2435-May-08 16:55 
QuestionCompiling out debugging statements - any easy way? Pin
K.L.K5-May-08 14:35
K.L.K5-May-08 14:35 
AnswerRe: Compiling out debugging statements - any easy way? Pin
Christian Graus5-May-08 15:06
protectorChristian Graus5-May-08 15:06 
AnswerRe: Compiling out debugging statements - any easy way? Pin
Roger Alsing5-May-08 18:51
Roger Alsing5-May-08 18:51 
Questionclass layout Pin
Mike Bentzen5-May-08 13:54
Mike Bentzen5-May-08 13:54 
AnswerRe: class layout Pin
carbon_golem6-May-08 3:01
carbon_golem6-May-08 3:01 
QuestionWhat does the ?? operator do in C# ? Pin
Link8885-May-08 13:34
Link8885-May-08 13:34 
AnswerRe: What does the ?? operator do in C# ? Pin
Jimmanuel5-May-08 13:58
Jimmanuel5-May-08 13:58 
GeneralRe: What does the ?? operator do in C# ? Pin
MarkB7775-May-08 19:06
MarkB7775-May-08 19:06 
QuestionEvent in a Thread Pin
QzRz5-May-08 10:49
QzRz5-May-08 10:49 
AnswerRe: Event in a Thread Pin
Jimmanuel5-May-08 11:17
Jimmanuel5-May-08 11:17 
AnswerRe: Event in a Thread Pin
K.L.K5-May-08 14:26
K.L.K5-May-08 14:26 
QuestionDataGridView null row Pin
tjschilling5-May-08 10:12
tjschilling5-May-08 10:12 
AnswerRe: DataGridView null row Pin
Ennis Ray Lynch, Jr.5-May-08 10:32
Ennis Ray Lynch, Jr.5-May-08 10:32 

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.