Click here to Skip to main content
16,017,137 members
Home / Discussions / C#
   

C#

 
GeneralRe: Compiler options in C# Pin
Member 391904910-Jun-08 12:05
Member 391904910-Jun-08 12:05 
GeneralRe: Compiler options in C# Pin
Christian Graus10-Jun-08 12:25
protectorChristian Graus10-Jun-08 12:25 
GeneralRe: Compiler options in C# Pin
Member 391904910-Jun-08 12:46
Member 391904910-Jun-08 12:46 
GeneralRe: Compiler options in C# Pin
Christian Graus10-Jun-08 13:04
protectorChristian Graus10-Jun-08 13:04 
GeneralRe: Compiler options in C# Pin
Judah Gabriel Himango10-Jun-08 13:24
sponsorJudah Gabriel Himango10-Jun-08 13:24 
QuestionDatatable issue Pin
NewToAspDotNet10-Jun-08 10:41
NewToAspDotNet10-Jun-08 10:41 
AnswerRe: Datatable issue Pin
Christian Graus10-Jun-08 11:09
protectorChristian Graus10-Jun-08 11:09 
Questiona security problem [modified] Pin
Sajjad Izadi10-Jun-08 10:16
Sajjad Izadi10-Jun-08 10:16 
hi friends,
i have a program which is for locking the screen (disappers the start menu and other windows) and the form of program appears and wants a password to login and then allows the user to continue his work.


in that program, the programmer has used user32.dll and kernel32.dll by DllImport class.


but the problem is that it works if you are a member of administrators. when i change my group to power users and run the program, an error appears ("an error occured, tell this to microsoft") and the program exits.


i have changed the security accesses of power users from the 'security' tab of windows xp (i have changed access of user32.dll and kernel32.dll in %windir%\system32\ to 'full control') but nothing changed and error again appeared when i run the program in a power user account.


what should i do if i want to use such programs (which uses DllImport) in non-administrator account?


thanks

modified on Tuesday, June 10, 2008 4:55 PM

AnswerRe: a security problem Pin
Christian Graus10-Jun-08 11:10
protectorChristian Graus10-Jun-08 11:10 
GeneralRe: a security problem Pin
Sajjad Izadi10-Jun-08 11:17
Sajjad Izadi10-Jun-08 11:17 
GeneralRe: a security problem Pin
Christian Graus10-Jun-08 11:24
protectorChristian Graus10-Jun-08 11:24 
Question[Message Deleted] Pin
Sr...Frank10-Jun-08 10:13
Sr...Frank10-Jun-08 10:13 
AnswerRe: AutoComplete Combobox!!! Pin
teejayem10-Jun-08 10:18
teejayem10-Jun-08 10:18 
QuestionHow to create a new ASPNETDB database? Pin
allende10-Jun-08 9:02
allende10-Jun-08 9:02 
QuestionXml serialization exception [modified] Pin
Eric Burns10-Jun-08 8:33
Eric Burns10-Jun-08 8:33 
AnswerRe: Xml serialization exception Pin
leppie10-Jun-08 23:41
leppie10-Jun-08 23:41 
QuestionCollectionEditor Pin
Gareth H10-Jun-08 7:14
Gareth H10-Jun-08 7:14 
AnswerRe: CollectionEditor Pin
led mike10-Jun-08 9:52
led mike10-Jun-08 9:52 
GeneralRe: CollectionEditor Pin
Gareth H10-Jun-08 10:19
Gareth H10-Jun-08 10:19 
QuestionThread and ProgressBar Problem Pin
MumbleB10-Jun-08 6:09
MumbleB10-Jun-08 6:09 
AnswerRe: Thread and ProgressBar Problem Pin
Judah Gabriel Himango10-Jun-08 6:16
sponsorJudah Gabriel Himango10-Jun-08 6:16 
GeneralRe: Thread and ProgressBar Problem Pin
MumbleB10-Jun-08 6:25
MumbleB10-Jun-08 6:25 
AnswerDouble Post - Please ignore Pin
Giorgi Dalakishvili10-Jun-08 6:24
mentorGiorgi Dalakishvili10-Jun-08 6:24 
GeneralRe: Double Post - Please ignore Pin
ellllllllie10-Jun-08 6:56
ellllllllie10-Jun-08 6:56 
GeneralRe: Double Post - Please ignore Pin
ellllllllie10-Jun-08 6:56
ellllllllie10-Jun-08 6:56 

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.