Re: need to add clock to application
"Hewitt, Simon C. (Contractor)" <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <CF362B9DFA7D2544934516DFA1459AEC0147F5A1@BP1XEUEX709-C.bp1.ad.bp.com> |
There is a policy under User Rights Assignment which grants rights to "Change the system time". By default its set to Administrators, PowerUsers. Much better to change this to some other group or just Administrator than rely on an app showing the time I think. Cheers Simon > -----Original Message----- > From: Discussion forum for developers using Windows Forms to > build apps and controls > [mailto:[email protected]] On Behalf Of > Stacey Levine > Sent: 12 April 2007 21:54 > To: [email protected] > Subject: Re: [DOTNET-WINFORMS] need to add clock to application > > Unfortunately, the point of sale software requires > administrative rights... > > -----Original Message----- > From: Discussion forum for developers using Windows Forms to > build apps and controls > [mailto:[email protected]] On Behalf Of > Chris Anderson > Sent: Thursday, April 12, 2007 4:29 PM > To: [email protected] > Subject: Re: [DOTNET-WINFORMS] need to add clock to application > > Remove the users from the respective local Administrators > groups, and they can't change their date/time, otherwise like > Phil I thought there was a StatusBarPanel style that showed > the time out of the box. > > -----Original Message----- > From: "Stacey Levine"<[email protected]> > Sent: 12/04/07 18:15:50 > To: > "[email protected]"<DOTNET-WINFORMS@DISCUSS. DEVELOP.COM> > Subject: Re: [DOTNET-WINFORMS] need to add clock to application > > Just display the clock. We have shut off the display of the > system clock > because our users kept changing the date.. so they want the time > displayed in this application. > > -----Original Message----- > From: Discussion forum for developers using Windows Forms to > build apps > and controls [mailto:[email protected]] On Behalf Of > Peter Ritchie > Sent: Thursday, April 12, 2007 12:37 PM > To: [email protected] > Subject: Re: [DOTNET-WINFORMS] need to add clock to application > > Do you simply need to display time or need to synchronize time with a > server as well? > > I've usually just created a Forms timer that updates the text in a > ToolStripStatusLabel. > > Windows Forms timers are a system-wide limited resource; so this might > not > be optimal in your situation. > > > > > > -----Unmodified Original Message----- > Just display the clock. We have shut off the display of the > system clock > because our users kept changing the date.. so they want the time > displayed in this application. > > -----Original Message----- > From: Discussion forum for developers using Windows Forms to > build apps > and controls [mailto:[email protected]] On Behalf Of > Peter Ritchie > Sent: Thursday, April 12, 2007 12:37 PM > To: [email protected] > Subject: Re: [DOTNET-WINFORMS] need to add clock to application > > Do you simply need to display time or need to synchronize time with a > server as well? > > I've usually just created a Forms timer that updates the text in a > ToolStripStatusLabel. > > Windows Forms timers are a system-wide limited resource; so this might > not > be optimal in your situation. >