Click here to Skip to main content
15,921,905 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to determine if a UserID is a member of WinNT Usergroup in VB.Net Pin
Ray Cassick14-May-03 17:18
Ray Cassick14-May-03 17:18 
GeneralRe: How to determine if a UserID is a member of WinNT Usergroup in VB.Net Pin
qnguyen15-May-03 8:41
qnguyen15-May-03 8:41 
GeneralRe: How to determine if a UserID is a member of WinNT Usergroup in VB.Net Pin
Ray Cassick15-May-03 8:52
Ray Cassick15-May-03 8:52 
GeneralRe: How to determine if a UserID is a member of WinNT Usergroup in VB.Net Pin
qnguyen15-May-03 13:07
qnguyen15-May-03 13:07 
QuestionDebugging A Service??? Pin
GrindAZ14-May-03 5:09
GrindAZ14-May-03 5:09 
AnswerRe: Debugging A Service??? Pin
Ray Cassick14-May-03 5:45
Ray Cassick14-May-03 5:45 
GeneralRe: Debugging A Service??? Pin
Anonymous14-May-03 11:41
Anonymous14-May-03 11:41 
GeneralRe: Debugging A Service??? Pin
Mike Mestemaker15-May-03 2:48
Mike Mestemaker15-May-03 2:48 
One trick I've been using is to put most of the initialization code in a one-shot timer (.AutoReset=False) and set the interval on that timer for something like 30-45 seconds. That gives you the time to connect the debugger to your service before that code starts.

Since my service is based around another timer, I just leave my main timer disabled until the initialization timer fires. Put your first breakpoint in the initialization timer and you can then debug that code.

Once you are happy with your initialization code, you can speed things up by changing the initialization timer's interval to something much shorter. Don't change the structure for production, just shorten the interval. If you need to re-debug something in the init code, you only have to change your interval again.
GeneralRe: Debugging A Service??? Pin
Anonymous15-May-03 12:53
Anonymous15-May-03 12:53 
GeneralRe: Debugging A Service??? Pin
GrindAZ16-May-03 13:02
GrindAZ16-May-03 13:02 
AnswerRe: Debugging A Service??? Pin
Anthony_Yio18-May-03 16:38
Anthony_Yio18-May-03 16:38 
GeneralRaising event from objects within a controls collection Pin
Damage_Inc14-May-03 3:29
Damage_Inc14-May-03 3:29 
GeneralRe: Raising event from objects within a controls collection Pin
Ray Cassick14-May-03 4:05
Ray Cassick14-May-03 4:05 
GeneralRe: Raising event from objects within a controls collection Pin
J. Dunlap14-May-03 7:15
J. Dunlap14-May-03 7:15 
QuestionHow to check if file existe? Pin
TPN13-May-03 21:36
TPN13-May-03 21:36 
AnswerRe: How to check if file existe? Pin
Villly13-May-03 22:05
Villly13-May-03 22:05 
GeneralRe: How to check if file existe? Pin
TPN13-May-03 22:09
TPN13-May-03 22:09 
AnswerRe: How to check if file existe? Pin
qnguyen14-May-03 5:44
qnguyen14-May-03 5:44 
GeneralRE: URLdownloadToFile Pin
rmurali13-May-03 11:51
rmurali13-May-03 11:51 
GeneralRe: RE: URLdownloadToFile Pin
John Kuhn13-May-03 14:05
John Kuhn13-May-03 14:05 
Generaldate functions Pin
Anonymous13-May-03 11:01
Anonymous13-May-03 11:01 
GeneralRe: date functions Pin
John Kuhn13-May-03 13:35
John Kuhn13-May-03 13:35 
QuestionHow to get a Picture in picturebox from a WebCam in VB.Net. Pin
Tajinder13-May-03 4:04
Tajinder13-May-03 4:04 
AnswerRe: How to get a Picture in picturebox from a WebCam in VB.Net. Pin
John Kuhn13-May-03 13:38
John Kuhn13-May-03 13:38 
Questiongetting a String from a Table? Pin
Anonymous12-May-03 6:12
Anonymous12-May-03 6:12 

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.