Quick Shortcut to Lock Workstation
We normally use QuickLaunch bar in System Taskbar for almost any of our tasks. When we want go away from our system, we normally lock the workstation. Just a curious tip. A simple two three lines of code in C# can place a nice application whose shortcut can be placed in QuickLaunch bar to Lock the Workstation.
public static extern void LockWorkStation();
static void Main(String args)
catch (Exception ee)
Alternatively,if you put the code in Windows Form and you can customize the App.ICO to some friendly ICO file which will showup in QuickLaunch bar instead of the old rectangle which shows up for an EXE.
/* Migrated from Daffodilnet Express — posted on October 15, 2004 */