Click here to Skip to main content
15,907,906 members
Home / Discussions / C#
   

C#

 
AnswerRe: why I can't create setup for my application Pin
Xmen Real 2-Mar-09 6:06
professional Xmen Real 2-Mar-09 6:06 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 6:32
laziale2-Mar-09 6:32 
GeneralRe: why I can't create setup for my application Pin
Xmen Real 2-Mar-09 6:34
professional Xmen Real 2-Mar-09 6:34 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 6:59
laziale2-Mar-09 6:59 
GeneralRe: why I can't create setup for my application Pin
Dave Kreskowiak2-Mar-09 8:13
mveDave Kreskowiak2-Mar-09 8:13 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 8:27
laziale2-Mar-09 8:27 
QuestionHow Can I automate the process of adding a webcam device to a C# video capture app. Pin
Jose_Gomez2-Mar-09 3:22
Jose_Gomez2-Mar-09 3:22 
QuestionWMI query doesnot return record for user having less previleges!! Pin
Cracked-Down2-Mar-09 3:02
Cracked-Down2-Mar-09 3:02 
Hi all,
I am trying to retrieve the Disk partitions using the following code lines

foreach (ManagementObject mgmObj in gmtObjo.GetRelated("Win32_DiskPartition"))
  {
       //get the logical partitions and add to collection
                
  }


This code snippet works well for user having administrative privileges on the machine.However,user having less privileges it does not retrieve any record.

I have searched through net and got the solution where we have to give the permission to the WMI itself using WMITool.However,this solution seems like not feasible as I can not give the permission to client machine.

I am looking for solution using which I would able to fetch the records irrespective of what user privileges are.Either through script or setting the privileges through code(setting through code might again require admin rights...).

Anybody here had faced this problem before or have solution to this??

Help will be appreciated!!!

Thanks in advance
QuestionRemote internet browsing? Pin
Member 46531982-Mar-09 2:28
Member 46531982-Mar-09 2:28 
AnswerRe: Remote internet browsing? Pin
Eddy Vluggen2-Mar-09 2:53
professionalEddy Vluggen2-Mar-09 2:53 
Questionprocess username Pin
shefa' isied2-Mar-09 2:21
shefa' isied2-Mar-09 2:21 
AnswerRe: process username Pin
Abhishek Sur2-Mar-09 3:42
professionalAbhishek Sur2-Mar-09 3:42 
QuestionImport a C++ class to C# Pin
lune122-Mar-09 2:19
lune122-Mar-09 2:19 
AnswerRe: Import a C++ class to C# Pin
Colin Angus Mackay2-Mar-09 2:22
Colin Angus Mackay2-Mar-09 2:22 
GeneralRe: Import a C++ class to C# Pin
lune122-Mar-09 2:27
lune122-Mar-09 2:27 
GeneralRe: Import a C++ class to C# Pin
Alan N2-Mar-09 3:41
Alan N2-Mar-09 3:41 
QuestionRe: Import a C++ class to C# Pin
0x3c02-Mar-09 5:02
0x3c02-Mar-09 5:02 
AnswerRe: Import a C++ class to C# Pin
Xmen Real 2-Mar-09 5:59
professional Xmen Real 2-Mar-09 5:59 
GeneralRe: Import a C++ class to C# Pin
0x3c02-Mar-09 6:52
0x3c02-Mar-09 6:52 
AnswerRe: Import a C++ class to C# Pin
Perisic, Aleksandar2-Mar-09 6:29
Perisic, Aleksandar2-Mar-09 6:29 
QuestionFinding Process Path Pin
Lijo Rajan2-Mar-09 1:28
Lijo Rajan2-Mar-09 1:28 
AnswerRe: Finding Process Path [modified] Pin
ABitSmart2-Mar-09 2:10
ABitSmart2-Mar-09 2:10 
AnswerRe: Finding Process Path Pin
Luc Pattyn2-Mar-09 3:11
sitebuilderLuc Pattyn2-Mar-09 3:11 
GeneralRe: Finding Process Path Pin
ABitSmart2-Mar-09 3:46
ABitSmart2-Mar-09 3:46 
QuestionError :OnClientConnect : An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full Pin
ranandbe2-Mar-09 1:14
ranandbe2-Mar-09 1:14 

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.