Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVB.net connect to Access with master and child table Pin
dmtp10-Jul-13 11:30
dmtp10-Jul-13 11:30 
AnswerRe: VB.net connect to Access with master and child table Pin
Bernhard Hiller14-Jul-13 21:51
Bernhard Hiller14-Jul-13 21:51 
Questionhow to capture the url of a popup window. Pin
rshaheen9-Jul-13 5:24
rshaheen9-Jul-13 5:24 
AnswerRe: how to capture the url of a popup window. Pin
Dave Kreskowiak9-Jul-13 5:34
mveDave Kreskowiak9-Jul-13 5:34 
GeneralRe: how to capture the url of a popup window. Pin
rshaheen9-Jul-13 6:03
rshaheen9-Jul-13 6:03 
GeneralRe: how to capture the url of a popup window. Pin
Dave Kreskowiak9-Jul-13 6:30
mveDave Kreskowiak9-Jul-13 6:30 
AnswerRe: how to capture the url of a popup window. Pin
Brisingr Aerowing14-Jul-13 12:22
professionalBrisingr Aerowing14-Jul-13 12:22 
QuestionVB.NET Windows Service - Detect System Date Time Change Pin
Biplob Singha Shee9-Jul-13 1:03
Biplob Singha Shee9-Jul-13 1:03 
Hi all, I want to create a Windows service that detect system datetime change and as soon as it detects the change, it gives a message "System DateTime has been changed".

VB
Public Class CltChk

    Protected Overrides Sub OnStart(ByVal args() As String)
        ' Add code here to start your service. This method should set things
        ' in motion so your service can do its work.
    End Sub

    Protected Overrides Sub OnStop()
        ' Add code here to perform any tear-down necessary to stop your service.
    End Sub

    Private Sub CheckDateTimeClock()
        Dim SysTime As Date = Date.Now
        Dim CurrentHour As Integer = SysTime.Hour
        Dim CurrentMinute As Integer = SysTime.Minute
        Dim CurrentSecond As Integer = SysTime.Second
        Dim CurrentMilliSecond As Integer = SysTime.Millisecond

' WHAT CODE SHOULD I WRITE HERE AND HOW AND WHERE SHOULD IT BE CALLED ??

    End Sub

End Class


I created a windows service but I don't know how to start.

Please HELP me.

modified 9-Jul-13 8:36am.

AnswerRe: VB.NET Windows Service - Detect System Date Time Change Pin
Richard Deeming9-Jul-13 1:15
mveRichard Deeming9-Jul-13 1:15 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Biplob Singha Shee9-Jul-13 1:47
Biplob Singha Shee9-Jul-13 1:47 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Richard Deeming9-Jul-13 1:52
mveRichard Deeming9-Jul-13 1:52 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Biplob Singha Shee9-Jul-13 2:02
Biplob Singha Shee9-Jul-13 2:02 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Dave Kreskowiak9-Jul-13 2:42
mveDave Kreskowiak9-Jul-13 2:42 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Richard Deeming9-Jul-13 2:49
mveRichard Deeming9-Jul-13 2:49 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Eddy Vluggen9-Jul-13 3:09
professionalEddy Vluggen9-Jul-13 3:09 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Richard Deeming9-Jul-13 3:11
mveRichard Deeming9-Jul-13 3:11 
AnswerRe: VB.NET Windows Service - Detect System Date Time Change Pin
Biplob Singha Shee9-Jul-13 4:58
Biplob Singha Shee9-Jul-13 4:58 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Richard Deeming9-Jul-13 5:06
mveRichard Deeming9-Jul-13 5:06 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Biplob Singha Shee9-Jul-13 5:23
Biplob Singha Shee9-Jul-13 5:23 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Richard Deeming9-Jul-13 5:49
mveRichard Deeming9-Jul-13 5:49 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Biplob Singha Shee9-Jul-13 5:55
Biplob Singha Shee9-Jul-13 5:55 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Richard Deeming9-Jul-13 6:38
mveRichard Deeming9-Jul-13 6:38 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Biplob Singha Shee9-Jul-13 6:51
Biplob Singha Shee9-Jul-13 6:51 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Dave Kreskowiak9-Jul-13 5:28
mveDave Kreskowiak9-Jul-13 5:28 
GeneralRe: VB.NET Windows Service - Detect System Date Time Change Pin
Dave Kreskowiak9-Jul-13 5:31
mveDave Kreskowiak9-Jul-13 5: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.