Click here to Skip to main content
15,849,262 members
Home / Discussions / C#
   

C#

 
GeneralRe: File Permission Pin
OriginalGriff12-Sep-09 6:41
mveOriginalGriff12-Sep-09 6:41 
GeneralRe: File Permission Pin
DarkSorrow3812-Sep-09 6:45
DarkSorrow3812-Sep-09 6:45 
GeneralRe: File Permission Pin
Luc Pattyn12-Sep-09 6:56
sitebuilderLuc Pattyn12-Sep-09 6:56 
QuestionLooking for calendar control like outlook 2007. Pin
hdv21212-Sep-09 4:25
hdv21212-Sep-09 4:25 
AnswerRe: Looking for calendar control like outlook 2007. Pin
Henry Minute12-Sep-09 6:25
Henry Minute12-Sep-09 6:25 
AnswerRe: Looking for calendar control like outlook 2007. Pin
April Fans22-Sep-09 17:12
April Fans22-Sep-09 17:12 
QuestionRegistry Editing Pin
DarkSorrow3812-Sep-09 3:54
DarkSorrow3812-Sep-09 3:54 
AnswerRe: Registry Editing Pin
Henry Minute12-Sep-09 4:28
Henry Minute12-Sep-09 4:28 
Two things:

1) You can concatenate your two OpenSubKey calls:
RegistryKey hkMicrosoft = hkcu.OpenSubKey(@"Software\Microsoft");


2) The OpenSubkey has 4 overloads. If you look it up on MSDN the last one allows you to specify the RegistryKeyPermissionCheck (what you can do with subkeys), and RegistryRights (read only, read/write TakeOwnership etc.).

I am still on XP, so I don't know how this applies under Vista and Weven, which I know are a bit more picky about these sorts of things.

Hope that this is of some help! Smile | :)

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: Registry Editing Pin
DarkSorrow3812-Sep-09 4:50
DarkSorrow3812-Sep-09 4:50 
GeneralRe: Registry Editing Pin
Henry Minute12-Sep-09 6:20
Henry Minute12-Sep-09 6:20 
QuestionDataGridView Binding.(Takes along time to load) Pin
Said Ali Jalali12-Sep-09 3:47
Said Ali Jalali12-Sep-09 3:47 
AnswerRe: DataGridView Binding.(Takes along time to load) Pin
Henry Minute12-Sep-09 4:35
Henry Minute12-Sep-09 4:35 
QuestionUpdateProgress Pin
4anusha412-Sep-09 2:02
4anusha412-Sep-09 2:02 
AnswerRe: UpdateProgress Pin
Henry Minute12-Sep-09 2:53
Henry Minute12-Sep-09 2:53 
Questioncheckedlistbox in c# Pin
billy dev12-Sep-09 1:35
billy dev12-Sep-09 1:35 
AnswerRe: checkedlistbox in c# Pin
Eddy Vluggen12-Sep-09 2:48
professionalEddy Vluggen12-Sep-09 2:48 
AnswerRe: checkedlistbox in c# Pin
Henry Minute12-Sep-09 2:50
Henry Minute12-Sep-09 2:50 
AnswerRe: checkedlistbox in c# Pin
Alan N12-Sep-09 4:55
Alan N12-Sep-09 4:55 
AnswerRe: checkedlistbox in c# Pin
April Fans22-Sep-09 17:14
April Fans22-Sep-09 17:14 
QuestionApplying Security for the Application Pin
vijaylumar12-Sep-09 1:32
vijaylumar12-Sep-09 1:32 
AnswerRe: Applying Security for the Application Pin
Eddy Vluggen12-Sep-09 2:51
professionalEddy Vluggen12-Sep-09 2:51 
QuestionDirection of increasing a LabelText ? Pin
Mohammad Dayyan12-Sep-09 1:10
Mohammad Dayyan12-Sep-09 1:10 
AnswerRe: Direction of increasing a LabelText ? Pin
Manas Bhardwaj12-Sep-09 1:16
professionalManas Bhardwaj12-Sep-09 1:16 
GeneralRe: Direction of increasing a LabelText ? Pin
Mohammad Dayyan12-Sep-09 1:42
Mohammad Dayyan12-Sep-09 1:42 
AnswerRe: Direction of increasing a LabelText ? Pin
OriginalGriff12-Sep-09 2:02
mveOriginalGriff12-Sep-09 2:02 

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.