Click here to Skip to main content
15,921,203 members
Home / Discussions / C#
   

C#

 
QuestionBitmap.LockBits ! Pin
Mohammad Dayyan2-Mar-09 8:42
Mohammad Dayyan2-Mar-09 8:42 
AnswerRe: Bitmap.LockBits ! Pin
Dave Kreskowiak2-Mar-09 8:51
mveDave Kreskowiak2-Mar-09 8:51 
GeneralRe: Bitmap.LockBits ! Pin
Mohammad Dayyan2-Mar-09 8:59
Mohammad Dayyan2-Mar-09 8:59 
AnswerRe: Bitmap.LockBits ! Pin
knockNrod9-Sep-10 3:08
knockNrod9-Sep-10 3:08 
QuestionRead the formatting from a Word document using C# Pin
Edward Hoad2-Mar-09 8:28
Edward Hoad2-Mar-09 8:28 
QuestionHow to call a method from a running service? Pin
s196675m2-Mar-09 6:48
s196675m2-Mar-09 6:48 
AnswerRe: How to call a method from a running service? Pin
Ravi Bhavnani2-Mar-09 8:10
professionalRavi Bhavnani2-Mar-09 8:10 
GeneralRe: How to call a method from a running service? Pin
s196675m2-Mar-09 9:44
s196675m2-Mar-09 9:44 
GeneralRe: How to call a method from a running service? Pin
Ravi Bhavnani2-Mar-09 9:50
professionalRavi Bhavnani2-Mar-09 9:50 
Questionabout USP to Parallel port Pin
Member 33767902-Mar-09 6:43
Member 33767902-Mar-09 6:43 
QuestionReturning primary key value from a FoxPro Table insert Pin
dptalt2-Mar-09 4:36
dptalt2-Mar-09 4:36 
AnswerRe: Returning primary key value from a FoxPro Table insert Pin
Xmen Real 2-Mar-09 6:11
professional Xmen Real 2-Mar-09 6:11 
Questionwhy I can't create setup for my application Pin
laziale2-Mar-09 4:23
laziale2-Mar-09 4:23 
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 

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.