Click here to Skip to main content
15,924,036 members
Home / Discussions / C#
   

C#

 
Questionwhat does it need the vector cryptic.IV Pin
Sasuko19-Oct-05 1:10
Sasuko19-Oct-05 1:10 
AnswerRe: what does it need the vector cryptic.IV Pin
leppie19-Oct-05 1:42
leppie19-Oct-05 1:42 
AnswerRe: what does it need the vector cryptic.IV Pin
Doctor Nick19-Oct-05 10:20
Doctor Nick19-Oct-05 10:20 
QuestionWindows Service Urgent!!! Pin
Talktorajeev18-Oct-05 23:34
Talktorajeev18-Oct-05 23:34 
AnswerRe: Windows Service Urgent!!! Pin
leppie19-Oct-05 0:02
leppie19-Oct-05 0:02 
GeneralRe: Windows Service Urgent!!! Pin
Talktorajeev19-Oct-05 0:18
Talktorajeev19-Oct-05 0:18 
GeneralRe: Windows Service Urgent!!! Pin
leppie19-Oct-05 1:38
leppie19-Oct-05 1:38 
GeneralRe: Windows Service Urgent!!! Pin
Talktorajeev19-Oct-05 2:11
Talktorajeev19-Oct-05 2:11 
Hi tried with registry. It changes the display name in Property Window of Service only but not in cosole menu. And also in the object of Service Controller when reading property of the service after making change, DisplayName change doesn't reflect. But I were successgul in changing description.


I am adding my code here


private void button2_Click(object sender, System.EventArgs e)
{
ServiceController obj = new ServiceController("Telephony");

Microsoft.Win32.RegistryKey objReg;
string str = obj.DisplayName;

try
{
ServiceControllerEx objSercEx =new ServiceControllerEx("Telephony");
string strDes = objSercEx.Description;

objReg = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"System\CurrentControlSet\Services\tapisrv",true);
objReg.SetValue("DisplayName","Telephony5678");
objReg.SetValue("Description", "DEscription");
objReg.Close();
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}

}

AnswerRe: Windows Service Urgent!!! Pin
leppie19-Oct-05 2:41
leppie19-Oct-05 2:41 
QuestionDetecting Sql Server Pin
_Hacker18-Oct-05 21:48
suss_Hacker18-Oct-05 21:48 
AnswerRe: Detecting Sql Server Pin
leppie18-Oct-05 22:17
leppie18-Oct-05 22:17 
QuestionScroll Position of the tree view control Pin
deejagan18-Oct-05 21:32
deejagan18-Oct-05 21:32 
Questionimage at runtime Pin
dhol18-Oct-05 21:03
dhol18-Oct-05 21:03 
QuestionRetain Previous diagram Pin
nageshwa18-Oct-05 20:55
nageshwa18-Oct-05 20:55 
AnswerRe: Retain Previous diagram Pin
Wjousts19-Oct-05 2:09
Wjousts19-Oct-05 2:09 
GeneralRe: Retain Previous diagram Pin
Anonymous19-Oct-05 17:18
Anonymous19-Oct-05 17:18 
AnswerRe: Retain Previous diagram Pin
Dave Kreskowiak19-Oct-05 2:59
mveDave Kreskowiak19-Oct-05 2:59 
GeneralRe: Retain Previous diagram Pin
Anonymous19-Oct-05 17:18
Anonymous19-Oct-05 17:18 
Question64 bit or 32 bit OS ??? Pin
Md Saleem Navalur18-Oct-05 20:29
Md Saleem Navalur18-Oct-05 20:29 
AnswerRe: 64 bit or 32 bit OS ??? Pin
leppie18-Oct-05 22:11
leppie18-Oct-05 22:11 
QuestionEncoding.GetBytes Method (String, Int32, Int32, Byte[], Int32) Pin
rushing18-Oct-05 19:27
rushing18-Oct-05 19:27 
AnswerRe: Encoding.GetBytes Method (String, Int32, Int32, Byte[], Int32) Pin
Christian Graus18-Oct-05 19:33
protectorChristian Graus18-Oct-05 19:33 
QuestionWM_MOUSEUP !!!! Pin
AB777118-Oct-05 18:59
AB777118-Oct-05 18:59 
AnswerRe: WM_MOUSEUP !!!! Pin
Christian Graus18-Oct-05 19:02
protectorChristian Graus18-Oct-05 19:02 
GeneralRe: WM_MOUSEUP !!!! Pin
AB777118-Oct-05 19:07
AB777118-Oct-05 19:07 

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.