Click here to Skip to main content
15,890,512 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPassword and registry Pin
afridy19-Sep-08 14:14
afridy19-Sep-08 14:14 
AnswerRe: Password and registry Pin
Rupesh Kumar Swami19-Sep-08 20:25
Rupesh Kumar Swami19-Sep-08 20:25 
GeneralRe: Password and registry Pin
afridy19-Sep-08 20:30
afridy19-Sep-08 20:30 
GeneralRe: Password and registry Pin
Rupesh Kumar Swami19-Sep-08 20:48
Rupesh Kumar Swami19-Sep-08 20:48 
QuestionWindow Service doesn't run continously using vb 2005 Pin
CARisk319-Sep-08 11:20
CARisk319-Sep-08 11:20 
AnswerRe: Window Service doesn't run continously using vb 2005 Pin
Dave Kreskowiak20-Sep-08 7:57
mveDave Kreskowiak20-Sep-08 7:57 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
CARisk38-Oct-08 6:24
CARisk38-Oct-08 6:24 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
Dave Kreskowiak8-Oct-08 12:22
mveDave Kreskowiak8-Oct-08 12:22 
CARisk3 wrote:
I thought timers were used in services to set how often it should run


Wrong. Timers are used in any application to execute code at a specific interval. They are not specific to services, and frankly, when I see a timer in a service, I immediately suspect it's not being used properly, or for the right reasons.


CARisk3 wrote:
I am really not understanding the reply.


What's hard to understand? You simply stop the timer at the start of your timer tick handler and restart it at the end. That way, the timer won't call your code again until you're ready for it to do so.


CARisk3 wrote:
Everything I have researched and looked up on services shows the setup like I have in the code snippet above.


That's the problem with using other peoples code. You don't know why they're doing something, or if it's even the correct way to do want you want.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Window Service doesn't run continously using vb 2005 Pin
CARisk38-Oct-08 12:37
CARisk38-Oct-08 12:37 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
Dave Kreskowiak8-Oct-08 15:12
mveDave Kreskowiak8-Oct-08 15:12 
GeneralRe: Window Service doesn't run continously using vb 2005 Pin
CARisk39-Oct-08 4:06
CARisk39-Oct-08 4:06 
QuestionVisual Studio 2008 Web Deployment - error writing file Pin
cab319-Sep-08 8:48
cab319-Sep-08 8:48 
AnswerRe: Visual Studio 2008 Web Deployment - error writing file Pin
Dave Kreskowiak20-Sep-08 7:54
mveDave Kreskowiak20-Sep-08 7:54 
GeneralRe: Visual Studio 2008 Web Deployment - error writing file Pin
cab322-Sep-08 13:04
cab322-Sep-08 13:04 
QuestionVB 6 .0 setup merage crystal report 8.0 Pin
Bhim Prakash Singh19-Sep-08 5:52
Bhim Prakash Singh19-Sep-08 5:52 
AnswerRe: VB 6 .0 setup merage crystal report 8.0 Pin
Dave Kreskowiak19-Sep-08 7:50
mveDave Kreskowiak19-Sep-08 7:50 
AnswerRe: VB 6 .0 setup merage crystal report 8.0 Pin
Ashfield19-Sep-08 8:59
Ashfield19-Sep-08 8:59 
AnswerRe: VB 6 .0 setup merage crystal report 8.0 Pin
Paul Conrad19-Sep-08 10:19
professionalPaul Conrad19-Sep-08 10:19 
QuestionGetting Company Name in VB.net Pin
Gagan.2019-Sep-08 5:44
Gagan.2019-Sep-08 5:44 
AnswerRe: Getting Company Name in VB.net Pin
jzonthemtn19-Sep-08 7:07
jzonthemtn19-Sep-08 7:07 
GeneralRe: Getting Company Name in VB.net Pin
Gagan.2020-Sep-08 4:19
Gagan.2020-Sep-08 4:19 
QuestionVB.net Graphics Pin
Gagan.2019-Sep-08 5:41
Gagan.2019-Sep-08 5:41 
AnswerRe: VB.net Graphics Pin
Dave Kreskowiak19-Sep-08 7:48
mveDave Kreskowiak19-Sep-08 7:48 
GeneralRe: VB.net Graphics Pin
Gagan.2020-Sep-08 4:22
Gagan.2020-Sep-08 4:22 
GeneralRe: VB.net Graphics Pin
Caio Kinzel Filho21-Sep-08 7:59
Caio Kinzel Filho21-Sep-08 7:59 

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.