Click here to Skip to main content
15,884,425 members
Home / Discussions / C#
   

C#

 
AnswerRe: Flash in taskbar Pin
Stefan Troschuetz14-May-06 10:48
Stefan Troschuetz14-May-06 10:48 
GeneralRe: Flash in taskbar Pin
Martin2314-May-06 11:12
Martin2314-May-06 11:12 
Questionsoftware layers Pin
mehrdadc4814-May-06 10:22
mehrdadc4814-May-06 10:22 
AnswerRe: software layers Pin
Robert Rohde14-May-06 18:58
Robert Rohde14-May-06 18:58 
QuestionInsert in DB Pin
mehrdadc4814-May-06 10:18
mehrdadc4814-May-06 10:18 
AnswerRe: Insert in DB Pin
Stefan Troschuetz14-May-06 10:33
Stefan Troschuetz14-May-06 10:33 
QuestionReset IIS from C# code? Pin
mikker_12314-May-06 9:48
mikker_12314-May-06 9:48 
AnswerRe: Reset IIS from C# code? Pin
Rei Miyasaka14-May-06 11:02
Rei Miyasaka14-May-06 11:02 
Process p = new Process();
p.StartInfo = new ProcessStartInfo("net", "stop w3svc");
p.Start();
p.WaitForExit();
p.StartInfo = new ProcessStartInfo("net", "start w3svc");
p.Start();
p.WaitForExit();


You can use net start/stop with any of these (taken from here[^]):
Iisadmin IIS Admin Service
Msftpsvc FTP Publishing Service
Nntpsvc Microsoft NNTP Service
Smtpsvc Microsoft SMTP Service
W3svc World Wide Web Publishing Service
GeneralRe: Reset IIS from C# code? Pin
mikker_12314-May-06 11:08
mikker_12314-May-06 11:08 
QuestionIs there a way to create native exe? Pin
signbit14-May-06 8:34
signbit14-May-06 8:34 
AnswerRe: Is there a way to create native exe? Pin
Sean8914-May-06 9:16
Sean8914-May-06 9:16 
AnswerRe: Is there a way to create native exe? Pin
Rei Miyasaka14-May-06 9:41
Rei Miyasaka14-May-06 9:41 
AnswerRe: Is there a way to create native exe? Pin
mikker_12314-May-06 9:46
mikker_12314-May-06 9:46 
Questionsteganalysis algorithm Pin
nailahazem14-May-06 8:21
nailahazem14-May-06 8:21 
AnswerRe: steganalysis algorithm Pin
Colin Angus Mackay14-May-06 12:12
Colin Angus Mackay14-May-06 12:12 
Questionproblem with threading Pin
teejayem14-May-06 7:40
teejayem14-May-06 7:40 
AnswerRe: problem with threading Pin
mikker_12314-May-06 9:43
mikker_12314-May-06 9:43 
Generaltext to speech Pin
Christopher Duncan14-May-06 7:15
Christopher Duncan14-May-06 7:15 
GeneralRe: text to speech Pin
mikker_12314-May-06 9:36
mikker_12314-May-06 9:36 
GeneralRe: text to speech Pin
Christopher Duncan15-May-06 3:24
Christopher Duncan15-May-06 3:24 
QuestionWin32 API - Problems with SENDMESSAGE Pin
Seraphin14-May-06 7:12
Seraphin14-May-06 7:12 
AnswerRe: Win32 API - Problems with SENDMESSAGE Pin
Rei Miyasaka14-May-06 11:09
Rei Miyasaka14-May-06 11:09 
QuestionTrouble in byte\string coding Pin
NaNg1524114-May-06 6:00
NaNg1524114-May-06 6:00 
AnswerRe: Trouble in byte\string coding Pin
Guffa14-May-06 6:11
Guffa14-May-06 6:11 
GeneralRe: Trouble in byte\string coding Pin
NaNg1524114-May-06 6:31
NaNg1524114-May-06 6:31 

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.