To hide the task bar you mus use P/Invoke methods:
1. Find the task bar handle. Use FindWindow to get the handle to the task
bar. The class name is "HHTaskBar".
2. Either move the task bar up above the screen using MoveWindow or
completely hide the task bar using ShowWindow passing in WS_HIDE for the
second parameter.
3. Ensure you move the window back to its previous position or show the
window when you minimize or exit your application.
To set the system time, use the SetSystemTime method. You will need to
declare the structure for the method:
[StructLayout(LayoutKind.Sequential)]
struct SYSTEMTIME
{
public UInt16 wYear;
public UInt16 wMonth;
public UInt16 wDayOfWeek;
public UInt16 wDay;
public UInt16 wHour;
public UInt16 wMinute;
public UInt16 wSecond;
public UInt16 wMilliseconds;
}
I hope this helps.
Rick D.
Contractor