Click here to Skip to main content
16,011,626 members
Home / Discussions / C#
   

C#

 
GeneralRe: Casting to inhering type from inherited type PinPopular
leppie3-Jun-08 1:43
leppie3-Jun-08 1:43 
GeneralRe: Casting to inhering type from inherited type Pin
Colin Angus Mackay3-Jun-08 2:30
Colin Angus Mackay3-Jun-08 2:30 
GeneralRe: Casting to inhering type from inherited type Pin
leppie3-Jun-08 3:19
leppie3-Jun-08 3:19 
GeneralRe: Casting to inhering type from inherited type Pin
Colin Angus Mackay3-Jun-08 2:32
Colin Angus Mackay3-Jun-08 2:32 
GeneralRe: Casting to inhering type from inherited type Pin
livez3-Jun-08 3:55
livez3-Jun-08 3:55 
GeneralRe: Casting to inhering type from inherited type Pin
Russell Jones3-Jun-08 4:35
Russell Jones3-Jun-08 4:35 
QuestionService Starting Problem! Pin
backSlashZero2-Jun-08 22:47
backSlashZero2-Jun-08 22:47 
AnswerRe: Service Starting Problem! Pin
N a v a n e e t h2-Jun-08 22:59
N a v a n e e t h2-Jun-08 22:59 
What is there in your OnStart() method ? Is your timer enabled ?

backSlashZero wrote:
private System.Timers.Timer timer = new System.Timers.Timer (86400000);


You are keeping the thread sleeping for such a long time. Better method to do this is to write a console application which sends mail and exits automatically. Use windows scheduler to schedule this exe to run at required time. So you are not keeping any threads sleeping for long time. Windows service should be used, if it has to do processing all time when it runs, not for scheduling like this, AFAIK.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: Service Starting Problem! Pin
backSlashZero3-Jun-08 0:17
backSlashZero3-Jun-08 0:17 
AnswerRe: Service Starting Problem! Pin
#realJSOP2-Jun-08 23:27
professional#realJSOP2-Jun-08 23:27 
GeneralRe: Service Starting Problem! Pin
backSlashZero3-Jun-08 0:08
backSlashZero3-Jun-08 0:08 
GeneralRe: Service Starting Problem! Pin
#realJSOP3-Jun-08 0:33
professional#realJSOP3-Jun-08 0:33 
GeneralRe: Service Starting Problem! Pin
backSlashZero3-Jun-08 0:52
backSlashZero3-Jun-08 0:52 
Questionhelp in binding data to dropdowmlist Pin
csp2-Jun-08 22:44
csp2-Jun-08 22:44 
QuestionError stop Http Listener Pin
George_George2-Jun-08 21:58
George_George2-Jun-08 21:58 
AnswerRe: Error stop Http Listener Pin
N a v a n e e t h2-Jun-08 22:26
N a v a n e e t h2-Jun-08 22:26 
GeneralRe: Error stop Http Listener Pin
George_George2-Jun-08 22:45
George_George2-Jun-08 22:45 
GeneralRe: Error stop Http Listener Pin
N a v a n e e t h2-Jun-08 22:51
N a v a n e e t h2-Jun-08 22:51 
GeneralRe: Error stop Http Listener Pin
George_George2-Jun-08 23:01
George_George2-Jun-08 23:01 
GeneralRe: Error stop Http Listener Pin
N a v a n e e t h2-Jun-08 23:12
N a v a n e e t h2-Jun-08 23:12 
GeneralRe: Error stop Http Listener Pin
GDavy2-Jun-08 23:08
GDavy2-Jun-08 23:08 
GeneralRe: Error stop Http Listener Pin
N a v a n e e t h2-Jun-08 23:12
N a v a n e e t h2-Jun-08 23:12 
GeneralRe: Error stop Http Listener Pin
GDavy2-Jun-08 23:20
GDavy2-Jun-08 23:20 
GeneralRe: Error stop Http Listener Pin
George_George2-Jun-08 23:42
George_George2-Jun-08 23:42 
GeneralRe: Error stop Http Listener Pin
N a v a n e e t h2-Jun-08 23:56
N a v a n e e t h2-Jun-08 23:56 

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.