Click here to Skip to main content
15,905,316 members
Home / Discussions / C#
   

C#

 
GeneralDataGridView DeleteRow issue Pin
NewToAspDotNet20-Dec-07 0:01
NewToAspDotNet20-Dec-07 0:01 
GeneralRe: DataGridView DeleteRow issue Pin
KennyPatel20-Dec-07 0:19
KennyPatel20-Dec-07 0:19 
GeneralRe: DataGridView DeleteRow issue Pin
NewToAspDotNet20-Dec-07 1:08
NewToAspDotNet20-Dec-07 1:08 
AnswerRe: DataGridView DeleteRow issue Pin
Ujjaval Modi20-Dec-07 0:59
Ujjaval Modi20-Dec-07 0:59 
GeneralRefresh Event of Web browser Pin
AB777119-Dec-07 23:41
AB777119-Dec-07 23:41 
Generalchech the box via code Pin
Prabhat00319-Dec-07 23:40
Prabhat00319-Dec-07 23:40 
GeneralRe: chech the box via code Pin
leppie20-Dec-07 1:47
leppie20-Dec-07 1:47 
GeneralRe: chech the box via code Pin
Prabhat00320-Dec-07 17:06
Prabhat00320-Dec-07 17:06 
Well Leppie,thanks for the reply...
but i think that it is possible to check the box containing "Allow System to interact with Desktop" via code.Here is the code...


RegistryKey ckey=Registry.LocalMachine.CreateSubKey(@"SYSTEM\CurrentControlSet\Services\",this.ServiceName);

if (ckey != null)
if (ckey.GetValue("Type") != null)

ckey.SetValue("Type", ((int)ckey.GetValue("Type") | 256));


This code runs well and the box is checked,when I call it in myService.cs file.But I think that I got to do this in projectinstaller.cs file at the method OnBeforeInstall() and OnAfterInstall() accordingly.But my problem is that its not working when I put inside above methods.Could anybody suggest me the Right way??
Any type of advice is welcome.
thank u.
Generalchech the box via code Pin
Prabhat00319-Dec-07 23:39
Prabhat00319-Dec-07 23:39 
GeneralRe: chech the box via code Pin
Paul Conrad23-Dec-07 7:31
professionalPaul Conrad23-Dec-07 7:31 
GeneralRe: chech the box via code Pin
Prabhat00323-Dec-07 16:55
Prabhat00323-Dec-07 16:55 
General[Message Deleted] Pin
rogery19-Dec-07 23:27
rogery19-Dec-07 23:27 
GeneralRe: how to get the namespaces names Pin
Christian Graus20-Dec-07 0:17
protectorChristian Graus20-Dec-07 0:17 
GeneralRe: how to get the namespaces names Pin
garyshort20-Dec-07 0:18
garyshort20-Dec-07 0:18 
GeneralRe: how to get the namespaces names Pin
Giorgi Dalakishvili20-Dec-07 1:05
mentorGiorgi Dalakishvili20-Dec-07 1:05 
GeneralRe: how to get the namespaces names Pin
Paul Conrad23-Dec-07 7:31
professionalPaul Conrad23-Dec-07 7:31 
QuestionHow to implement tree structure in c# using data structures in C#? Pin
Hasan_Abbas19-Dec-07 23:08
Hasan_Abbas19-Dec-07 23:08 
AnswerRe: How to implement tree structure in c# using data structures in C#? Pin
Anthony Mushrow20-Dec-07 0:04
professionalAnthony Mushrow20-Dec-07 0:04 
AnswerRe: How to implement tree structure in c# using data structures in C#? Pin
CKnig20-Dec-07 0:32
CKnig20-Dec-07 0:32 
QuestionRe: How to implement tree structure in c# using data structures in C#? Pin
Ujjaval Modi20-Dec-07 1:05
Ujjaval Modi20-Dec-07 1:05 
GeneralRe: How to implement tree structure in c# using data structures in C#? Pin
Hasan_Abbas23-Dec-07 20:25
Hasan_Abbas23-Dec-07 20:25 
GeneralRe: How to implement tree structure in c# using data structures in C#? Pin
CKnig26-Dec-07 22:22
CKnig26-Dec-07 22:22 
GeneralRe: How to implement tree structure in c# using data structures in C#? Pin
Hasan_Abbas30-Dec-07 1:23
Hasan_Abbas30-Dec-07 1:23 
AnswerRe: How to implement tree structure in c# using data structures in C#? Pin
Paul Conrad23-Dec-07 7:32
professionalPaul Conrad23-Dec-07 7:32 
QuestionPlease help me ,Thread using for receiving stream from many webcams !!! Pin
peaceziz19-Dec-07 22:55
peaceziz19-Dec-07 22:55 

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.