Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hey folks, that's funny... Pin
Colin Angus Mackay28-May-07 21:36
Colin Angus Mackay28-May-07 21:36 
GeneralRe: Hey folks, that's funny... Pin
andre_swnpl28-May-07 21:40
andre_swnpl28-May-07 21:40 
GeneralRe: Hey folks, that's funny... Pin
Arun.Immanuel28-May-07 22:13
Arun.Immanuel28-May-07 22:13 
GeneralRe: Hey folks, that's funny... Pin
andre_swnpl28-May-07 22:28
andre_swnpl28-May-07 22:28 
GeneralRe: Hey folks, that's funny... Pin
Arun.Immanuel28-May-07 22:39
Arun.Immanuel28-May-07 22:39 
GeneralRe: Hey folks, that's funny... Pin
Alexander Zhevak29-May-07 19:28
Alexander Zhevak29-May-07 19:28 
GeneralRe: Hey folks, that's funny... Pin
Tim Paaschen28-May-07 23:49
Tim Paaschen28-May-07 23:49 
QuestionInteract With Desktop Pin
M. J. Jaya Chitra28-May-07 20:26
M. J. Jaya Chitra28-May-07 20:26 
I tried the following code to check "Allow Interact with desktop" of the Log on Property of my service using the following code but it is not working, but that option is checked. If I Uncheck and check it manually it is interacting with the desktop. Why????????
I tried this code in ServiceInstaller_AfterInstall,ServiceInstaller_BeforeInstall,OnStart()of the service and Service Class Constructor
--CODE--
Microsoft.Win32.RegistryKey ckey =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Services\Sample_Service", true);
if (ckey != null)
{
if (ckey.GetValue("Type") != null)
{
ckey.SetValue("Type", ((int)ckey.GetValue("Type") | 256));
}
}
--CODE--
Please Help Me



Best Regards,
M. J. Jaya Chitra

QuestionSms to mobile device Pin
IrfanHaleem28-May-07 20:04
IrfanHaleem28-May-07 20:04 
AnswerRe: Sms to mobile device Pin
JF201528-May-07 20:09
JF201528-May-07 20:09 
AnswerRe: Sms to mobile device Pin
Manoj Kumar Rai28-May-07 23:14
professionalManoj Kumar Rai28-May-07 23:14 
QuestionDataTAble Problem Pin
Syed Shahid Hussain28-May-07 19:33
Syed Shahid Hussain28-May-07 19:33 
AnswerRe: DataTAble Problem Pin
andre_swnpl28-May-07 20:04
andre_swnpl28-May-07 20:04 
GeneralRe: DataTAble Problem Pin
Syed Shahid Hussain29-May-07 10:25
Syed Shahid Hussain29-May-07 10:25 
AnswerRe: DataTAble Problem Pin
Nouman Bhatti29-May-07 2:45
Nouman Bhatti29-May-07 2:45 
GeneralRe: DataTAble Problem Pin
Syed Shahid Hussain29-May-07 10:29
Syed Shahid Hussain29-May-07 10:29 
GeneralRe: DataTAble Problem Pin
Syed Shahid Hussain29-May-07 19:02
Syed Shahid Hussain29-May-07 19:02 
QuestionPlz help - Logging explorer events Pin
rjknis28-May-07 18:59
rjknis28-May-07 18:59 
AnswerRe: Plz help - Logging explorer events Pin
JF201528-May-07 19:10
JF201528-May-07 19:10 
GeneralRe: Plz help - Logging explorer events Pin
rjknis29-May-07 2:37
rjknis29-May-07 2:37 
AnswerRe: Plz help - Logging explorer events Pin
Ylno28-May-07 23:16
Ylno28-May-07 23:16 
GeneralRe: Plz help - Logging explorer events Pin
rjknis29-May-07 21:19
rjknis29-May-07 21:19 
Questionchanges on the added row in the grid view Pin
tauras8128-May-07 18:53
tauras8128-May-07 18:53 
QuestionDXF reading and drawing with undo and redo functions in Drawing Editor [modified] Pin
a_david12328-May-07 18:50
a_david12328-May-07 18:50 
AnswerRe: Undo and Redo in Drawing Editor Pin
mav.northwind28-May-07 19:16
mav.northwind28-May-07 19:16 

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.