Re: Date and Time

[ DelphiLand FAQ ]

Posted by giovanni caramia on June 30, 2004 at 20:24:10:

In Reply to: Date and Time posted by pee kay wae on June 30, 2004 at 16:00:00:

: I want to be able to syncroniz my workstation's date and time with that of my server's date and time. how do i go about it?

I solved:

procedure TForm1.Button1Click(Sender: TObject);
var b : string ;
b := ' time \\ServerName /set /y';
ShellExecute(Handle, 'open','net',pchar(b), nil, SW_SHOWNORMAL);

Giovanni caramia

Related Articles and Replies:

[ DelphiLand FAQ ]