Click here to Skip to main content
15,889,877 members
Home / Discussions / C#
   

C#

 
GeneralRe: Refreshing the system Pin
padmanabhan N27-May-09 23:46
padmanabhan N27-May-09 23:46 
GeneralRe: Refreshing the system Pin
tom57200728-May-09 0:19
tom57200728-May-09 0:19 
GeneralRe: Refreshing the system Pin
padmanabhan N27-May-09 23:45
padmanabhan N27-May-09 23:45 
GeneralRe: Refreshing the system Pin
Rajdeep.NET is BACK27-May-09 23:51
Rajdeep.NET is BACK27-May-09 23:51 
GeneralRe: Refreshing the system Pin
padmanabhan N27-May-09 23:56
padmanabhan N27-May-09 23:56 
QuestionListing Directories and Files from Web Server Pin
himuskanhere27-May-09 21:26
himuskanhere27-May-09 21:26 
AnswerRe: Listing Directories and Files from Web Server Pin
Ennis Ray Lynch, Jr.28-May-09 1:36
Ennis Ray Lynch, Jr.28-May-09 1:36 
QuestionRenaming value data Pin
Rajdeep.NET is BACK27-May-09 20:47
Rajdeep.NET is BACK27-May-09 20:47 
Hi dear friends,

Please check out this code for editing the registry, I have tried this and it works fine:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Microsoft.Win32;

namespace Editing_the_Registry
{
    class Program
    {
        static void Main(string[] args)
        {
            Microsoft.Win32.RegistryKey key;
            key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Rajdeep");
            key.SetValue("MyString", "CreatedbyRajdeep");
            key.Close();
        }
    }
}



This piece of code just creates a Subkey called 'Rajdeep' in the HKEY_Current_User Key, and then creates a String value called 'MyString' within the SubKey 'Rajdeep' and sets the value data as 'CreatedbyRajdeep'.

But my issue is different. I want to change the value data of 'HKEY_CURRENT_USER\Control Panel\Desktop\MenuShowDelay\' to '200' from default '400'. It will speed up the Menu display from 400 milliseconds to 200 milliseconds, thus making the PC faster.

Your help will be truly appreciated,
RajThumbs Up | :thumbsup: Cool | :cool:

PS: I am using Virtual PC, since MSDN suggests so.
AnswerRe: Renaming value data Pin
Colin Angus Mackay27-May-09 20:55
Colin Angus Mackay27-May-09 20:55 
GeneralRe: Renaming value data Pin
Rajdeep.NET is BACK27-May-09 20:58
Rajdeep.NET is BACK27-May-09 20:58 
GeneralRe: Renaming value data Pin
Colin Angus Mackay27-May-09 21:24
Colin Angus Mackay27-May-09 21:24 
AnswerRe: Renaming value data Pin
Nagy Vilmos27-May-09 21:35
professionalNagy Vilmos27-May-09 21:35 
AnswerRe: Renaming value data [modified] Pin
Calla27-May-09 21:38
Calla27-May-09 21:38 
GeneralRe: Renaming value data Pin
Rajdeep.NET is BACK27-May-09 21:51
Rajdeep.NET is BACK27-May-09 21:51 
GeneralRe: Renaming value data Pin
EliottA28-May-09 2:47
EliottA28-May-09 2:47 
AnswerRe: Renaming value data Pin
OriginalGriff27-May-09 22:15
mveOriginalGriff27-May-09 22:15 
GeneralRe: Renaming value data Pin
padmanabhan N27-May-09 22:45
padmanabhan N27-May-09 22:45 
GeneralRe: Renaming value data Pin
padmanabhan N27-May-09 23:47
padmanabhan N27-May-09 23:47 
GeneralRe: Renaming value data Pin
OriginalGriff28-May-09 0:02
mveOriginalGriff28-May-09 0:02 
GeneralRe: Renaming value data Pin
Rajesh R Subramanian28-May-09 0:15
professionalRajesh R Subramanian28-May-09 0:15 
GeneralRe: Renaming value data Pin
Luc Pattyn28-May-09 2:20
sitebuilderLuc Pattyn28-May-09 2:20 
QuestionHow can I catch PrintDialog opened on IE? Pin
svt gdwl27-May-09 19:58
svt gdwl27-May-09 19:58 
AnswerRe: How can I catch PrintDialog opened on IE? Pin
Anubhava Dimri27-May-09 20:05
Anubhava Dimri27-May-09 20:05 
GeneralRe: How can I catch PrintDialog opened on IE? Pin
svt gdwl27-May-09 20:15
svt gdwl27-May-09 20:15 
GeneralRe: How can I catch PrintDialog opened on IE? Pin
Anubhava Dimri27-May-09 20:33
Anubhava Dimri27-May-09 20:33 

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.