On 30 Mar, 18:58, Alfaking <[email protected]> wrote:
> any suggestion, please ?

no idea ?
I' ve found this code
" Private Structure SYSTEMTIME
    Public Year As Short
    Public Month As Short
    Public DayOfWeek As Short
    Public Day As Short
    Public Hour As Short
    Public Minute As Short
    Public Second As Short
    Public Milliseconds As Short
    End Structure

    <DllImport("coredll.dll")> _
    Private Shared Function SetSystemTime(ByRef time As SYSTEMTIME) As
Boolean
    End Function

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
    Dim idag As DateTime =
Now().AddHours(1).AddMinutes(2).ToUniversalTime
    Dim s As New SYSTEMTIME
    s.Year = idag.Year
    s.Month = idag.Month
    s.DayOfWeek = idag.DayOfWeek
    s.Day = idag.Day
    s.Hour = idag.Hour
    s.Minute = idag.Minute
    s.Second = idag.Second
    s.Milliseconds = idag.Millisecond

    SetSystemTime(s)
    End Sub"

it seems to be useful, but, I'm sure that it doesn't connect to any
server...
how should I do it ?

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to