Click here to Skip to main content
16,018,973 members
Home / Discussions / C#
   

C#

 
GeneralIntegrate Window Application With Google Map Pin
SYEDGOHAR10-Apr-12 0:26
SYEDGOHAR10-Apr-12 0:26 
QuestionHow we can check whether exchange server is installed in a system using c#. Pin
Sebastian T Xavier9-Apr-12 23:54
Sebastian T Xavier9-Apr-12 23:54 
QuestionAbout Compound File Pin
Member 81435139-Apr-12 23:50
Member 81435139-Apr-12 23:50 
AnswerRe: About Compound File Pin
Richard MacCutchan10-Apr-12 0:09
mveRichard MacCutchan10-Apr-12 0:09 
GeneralRe: About Compound File Pin
ddecoy10-Apr-12 2:44
ddecoy10-Apr-12 2:44 
GeneralRe: About Compound File Pin
PIEBALDconsult10-Apr-12 3:08
mvePIEBALDconsult10-Apr-12 3:08 
GeneralRe: About Compound File Pin
Richard MacCutchan10-Apr-12 5:30
mveRichard MacCutchan10-Apr-12 5:30 
QuestionModifying an exisiting registry value Pin
MitchG92_249-Apr-12 23:34
MitchG92_249-Apr-12 23:34 
I need to change a registry value using a console c# app. I am getting an error though but from what i see, the code is alright, any suggestions?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
namespace ChangeHomepage
{
class Program
{
static void Main(string[] args)
{
RegistryKey rkHKLM = Registry.CurrentUser;
RegistryKey rkRun;
String site = "whatever site";
String regPath =("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main");

rkRun = rkHKLM.OpenSubKey(regPath, true);
rkRun.DeleteValue("Start Page", true );
rkRun.SetValue("Start Page", site, RegistryValueKind.String);
Registry.CurrentUser.Flush();
}
}
}
AnswerRe: Modifying an exisiting registry value Pin
DaveyM699-Apr-12 23:49
professionalDaveyM699-Apr-12 23:49 
QuestionC Sharp Login with different user privilege Pin
Xonel9-Apr-12 23:06
Xonel9-Apr-12 23:06 
AnswerRe: C Sharp Login with different user privilege Pin
Sebastian T Xavier9-Apr-12 23:57
Sebastian T Xavier9-Apr-12 23:57 
GeneralRe: C Sharp Login with different user privilege Pin
Xonel10-Apr-12 1:02
Xonel10-Apr-12 1:02 
AnswerRe: C Sharp Login with different user privilege Pin
BobJanova10-Apr-12 6:31
BobJanova10-Apr-12 6:31 
GeneralRe: C Sharp Login with different user privilege Pin
Xonel10-Apr-12 23:06
Xonel10-Apr-12 23:06 
GeneralRe: C Sharp Login with different user privilege Pin
BobJanova10-Apr-12 23:18
BobJanova10-Apr-12 23:18 
GeneralRe: C Sharp Login with different user privilege Pin
Xonel10-Apr-12 23:19
Xonel10-Apr-12 23:19 
QuestionAdding Reference to Dll (Class Library ) & Using statements Pin
Smith#9-Apr-12 21:09
Smith#9-Apr-12 21:09 
AnswerRe: Adding Reference to Dll (Class Library ) & Using statements Pin
Richard Andrew x6410-Apr-12 8:38
professionalRichard Andrew x6410-Apr-12 8:38 
GeneralRe: Adding Reference to Dll (Class Library ) & Using statements Pin
Smith#11-Apr-12 2:16
Smith#11-Apr-12 2:16 
GeneralRe: Adding Reference to Dll (Class Library ) & Using statements Pin
Richard Andrew x6411-Apr-12 5:12
professionalRichard Andrew x6411-Apr-12 5:12 
GeneralRe: Adding Reference to Dll (Class Library ) & Using statements Pin
Smith#11-Apr-12 21:34
Smith#11-Apr-12 21:34 
GeneralRe: Adding Reference to Dll (Class Library ) & Using statements Pin
Richard Andrew x6412-Apr-12 5:13
professionalRichard Andrew x6412-Apr-12 5:13 
QuestionDatabase Explorer Query Pin
mauricemcse9-Apr-12 12:38
mauricemcse9-Apr-12 12:38 
AnswerRe: Database Explorer Query Pin
PIEBALDconsult9-Apr-12 14:27
mvePIEBALDconsult9-Apr-12 14:27 
GeneralRe: Database Explorer Query Pin
mauricemcse9-Apr-12 16:25
mauricemcse9-Apr-12 16:25 

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.