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

C#

 
Questionkeyup/keypress event for forms Pin
jeweladdict9-Oct-06 6:38
jeweladdict9-Oct-06 6:38 
AnswerRe: keyup/keypress event for forms Pin
Stefan Troschuetz9-Oct-06 7:08
Stefan Troschuetz9-Oct-06 7:08 
GeneralRe: keyup/keypress event for forms Pin
jeweladdict9-Oct-06 7:18
jeweladdict9-Oct-06 7:18 
QuestionSetup creation VS2005 Pin
Charith Jayasundara9-Oct-06 6:19
Charith Jayasundara9-Oct-06 6:19 
AnswerRe: Setup creation VS2005 Pin
Stefan Troschuetz9-Oct-06 7:16
Stefan Troschuetz9-Oct-06 7:16 
QuestionMS Access relationships manipulation Pin
Juan Pedro Prez9-Oct-06 5:38
Juan Pedro Prez9-Oct-06 5:38 
QuestionGetting primary keys from GetSchemaTable Pin
il_masacratore9-Oct-06 5:15
il_masacratore9-Oct-06 5:15 
QuestionPrinters installed on a remote PC Pin
Mircea Puiu9-Oct-06 4:54
Mircea Puiu9-Oct-06 4:54 
Hello all!

Please help me understand the following "little" problem:
I'm trying to find the printers which another mashine in the network sees. For that, I'm using the following piece of code:
ManagementScope            ms = new ManagementScope("\\\\Someone\\root\\cimv2);
ObjectQuery                oq = new ObjectQuery("Select * from win32_Printer");
ManagementObjectSearcher   os = new ManagementObjectSearcher(ms, oq);

ManagementObjectCollection queryCollection = os.Get();

I mention that my permissions on the other pc are granted both for the CIMV2 and WMI
(as set through My Computer>Manage>WMI Control>Properties>Security)
If the installed printers are shared on the other computer, I see them, otherwise the queryCollection is empty. WHY?

PS: When querying anything else, it works with no problems (for example,win32_Product).

Thanks for any comment!

SkyWalker

QuestionPopulating HTML fields in a AxWebBrowser Pin
kozu9-Oct-06 4:40
kozu9-Oct-06 4:40 
AnswerRe: Populating HTML fields in a AxWebBrowser Pin
led mike9-Oct-06 6:03
led mike9-Oct-06 6:03 
QuestionFind Application Environment at runtime Pin
pranu_139-Oct-06 4:38
pranu_139-Oct-06 4:38 
AnswerRe: Find Application Environment at runtime Pin
S. Senthil Kumar10-Oct-06 2:59
S. Senthil Kumar10-Oct-06 2:59 
GeneralRe: Find Application Environment at runtime Pin
pranu_1311-Oct-06 20:36
pranu_1311-Oct-06 20:36 
QuestionCannot determine an efficient encryption Model Pin
sleepless_b9-Oct-06 4:16
sleepless_b9-Oct-06 4:16 
AnswerRe: Cannot determine an efficient encryption Model Pin
led mike9-Oct-06 5:05
led mike9-Oct-06 5:05 
GeneralRe: Cannot determine an efficient encryption Model Pin
sleepless_b9-Oct-06 5:52
sleepless_b9-Oct-06 5:52 
GeneralRe: Cannot determine an efficient encryption Model Pin
led mike9-Oct-06 6:02
led mike9-Oct-06 6:02 
QuestionRe: Cannot determine an efficient encryption Model Pin
beatles169210-Oct-06 2:43
beatles169210-Oct-06 2:43 
QuestionRe: Cannot determine an efficient encryption Model Pin
sleepless_b10-Oct-06 21:37
sleepless_b10-Oct-06 21:37 
AnswerRe: Cannot determine an efficient encryption Model Pin
beatles169211-Oct-06 19:33
beatles169211-Oct-06 19:33 
QuestionMore ArrayList problems. Pin
scotlandc9-Oct-06 3:33
scotlandc9-Oct-06 3:33 
AnswerRe: More ArrayList problems. Pin
Insincere Dave9-Oct-06 4:33
Insincere Dave9-Oct-06 4:33 
GeneralRe: More ArrayList problems. Pin
scotlandc9-Oct-06 4:44
scotlandc9-Oct-06 4:44 
GeneralRe: More ArrayList problems. Pin
Insincere Dave9-Oct-06 9:28
Insincere Dave9-Oct-06 9:28 
AnswerRe: More ArrayList problems. Pin
lmoelleb9-Oct-06 20:42
lmoelleb9-Oct-06 20:42 

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.