Click here to Skip to main content
15,892,517 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: In VB 6.0 how do I Check for A running Application?? Pin
Ray Cassick18-Sep-02 5:26
Ray Cassick18-Sep-02 5:26 
GeneralIn Vbscript using Ole Automation how to I open a PPT presentation with the main PPT App window in a minimised mode Pin
SPGV17-Sep-02 19:36
SPGV17-Sep-02 19:36 
Generaldisable the warning dialog box in Word Pin
retZ117-Sep-02 8:54
sussretZ117-Sep-02 8:54 
GeneralRe: disable the warning dialog box in Word Pin
Nick Parker18-Sep-02 8:00
protectorNick Parker18-Sep-02 8:00 
QuestionDAO: In VB 6.0, how do i search a access database? Pin
BHBAD200217-Sep-02 8:22
sussBHBAD200217-Sep-02 8:22 
AnswerRe: DAO: In VB 6.0, how do i search a access database? Pin
Nick Parker18-Sep-02 8:10
protectorNick Parker18-Sep-02 8:10 
QuestionHow to debug a Service in VB.NET? Pin
Matt Philmon17-Sep-02 6:07
Matt Philmon17-Sep-02 6:07 
AnswerRe: How to debug a Service in VB.NET? Pin
Zyxil19-Sep-02 10:22
Zyxil19-Sep-02 10:22 
ah, i can help you here

you have to start your service and then use the Debug > Processes... menu option to attach to your service, at that point you will be in debug mode in vs.net

a couple of points/warnings:

- to stop debugging, STOP the service from the services control panel applet instead of using the stop debug action in vs.net, otherwise you will have to uninstall your service and reboot your machine Dead | X| in order to reinstall it again. when you stop the service properly, vs.net will exit debug mode gracefully

- you only get 30 seconds from the time you start your service to attach and debug the OnStart() method,, use the application log to log debug messages, it's much easier than racing to attach to the process,, servicebase has an applicationlog method for this (logmessage() i think)

- this is cool: once your service has been installed with installutil.exe, you can stop the service, make code changes, recompile the service and start it again without uninstalling and reinstalling it

iv'e been thinking of writing an article for writing a service in .net, but i haven't gotten around to it yet Wink | ;)

-John
GeneralRe: How to debug a Service in VB.NET? Pin
Matt Philmon19-Sep-02 11:15
Matt Philmon19-Sep-02 11:15 
GeneralClass not registered and.. Pin
Kain16-Sep-02 12:02
Kain16-Sep-02 12:02 
GeneralRe: Class not registered and.. Pin
Matt Philmon19-Sep-02 18:06
Matt Philmon19-Sep-02 18:06 
Questionimporting an excel file and storing in MS-Access? Pin
drmzunlimited16-Sep-02 11:57
drmzunlimited16-Sep-02 11:57 
AnswerRe: importing an excel file and storing in MS-Access? Pin
Matt Philmon19-Sep-02 18:07
Matt Philmon19-Sep-02 18:07 
Questionexecuting query from dataset thru code in Vb.net? Pin
drmzunlimited16-Sep-02 11:44
drmzunlimited16-Sep-02 11:44 
Questionupdate query ? Pin
drmzunlimited16-Sep-02 11:40
drmzunlimited16-Sep-02 11:40 
AnswerRe: update query ? Pin
BHBAD200217-Sep-02 8:12
sussBHBAD200217-Sep-02 8:12 
GeneralCOMException Pin
devvvy16-Sep-02 10:50
devvvy16-Sep-02 10:50 
Questionhow to create ActiveX controls Pin
diya16-Sep-02 9:32
diya16-Sep-02 9:32 
GeneralStrange Form.Load problem Pin
Member 13074716-Sep-02 5:45
Member 13074716-Sep-02 5:45 
GeneralRe: Strange Form.Load problem Pin
Ray Cassick16-Sep-02 6:19
Ray Cassick16-Sep-02 6:19 
QuestionVB 6.0 How do I read from a .txt file? Pin
BHBAD200216-Sep-02 4:32
sussBHBAD200216-Sep-02 4:32 
AnswerRe: VB 6.0 How do I read from a .txt file? Pin
Ray Cassick16-Sep-02 5:31
Ray Cassick16-Sep-02 5:31 
AnswerRe: VB 6.0 How do I read from a .txt file? Pin
Zyxil19-Sep-02 10:38
Zyxil19-Sep-02 10:38 
GeneralIN VBS how do I check if some software is installed using registry Pin
SPGV15-Sep-02 23:17
SPGV15-Sep-02 23:17 
GeneralRe: IN VBS how do I check if some software is installed using registry Pin
Ray Cassick16-Sep-02 5:33
Ray Cassick16-Sep-02 5:33 

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.