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

C#

 
GeneralRe: Serializing an interface? Pin
led mike9-Oct-06 10:31
led mike9-Oct-06 10:31 
AnswerRe: Serializing an interface? Pin
Robert Rohde9-Oct-06 22:13
Robert Rohde9-Oct-06 22:13 
QuestionEscape from image folder Pin
Parshant Verma9-Oct-06 7:39
Parshant Verma9-Oct-06 7:39 
AnswerRe: Escape from image folder Pin
Guffa9-Oct-06 9:41
Guffa9-Oct-06 9:41 
QuestionEmpty Crystal Report Pin
WillemM9-Oct-06 7:12
WillemM9-Oct-06 7:12 
AnswerRe: Empty Crystal Report Pin
WillemM9-Oct-06 21:05
WillemM9-Oct-06 21:05 
AnswerRe: Empty Crystal Report Pin
WillemM10-Oct-06 6:24
WillemM10-Oct-06 6:24 
QuestionHow could this not work? Pin
nicknotyet9-Oct-06 6:40
nicknotyet9-Oct-06 6:40 
AnswerRe: How could this not work? Pin
nicknotyet9-Oct-06 6:44
nicknotyet9-Oct-06 6:44 
GeneralRe: How could this not work? Pin
User 66589-Oct-06 7:12
User 66589-Oct-06 7:12 
JokeRe: How could this not work? Pin
Guffa9-Oct-06 7:48
Guffa9-Oct-06 7:48 
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 

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.