![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | constante hi on a winform, made in Vb2005 , i want to save a date into al label . The date shoud be the last day that is application is used. Therfore i thought to store the day into a constante in the application. Next time the application runs, i see the this date on my startupform. How can i managed this ? regards Georg |
My System Specs![]() |
| | #2 (permalink) |
| | RE: constante "Georg" wrote: Quote: > hi > > on a winform, made in Vb2005 , i want to save a date into al label . The > date shoud be the last day that is application is used. Therfore i thought > to store the day into a constante in the application. Next time the > application runs, i see the this date on my startupform. How can i managed > this ? > > regards Georg > > http://msdn.microsoft.com/en-us/library/k4s6c3a0.aspx. Mike |
My System Specs![]() |
| | #3 (permalink) |
| | Re: constante Hi, i did it your way. at the end of the load of mine startupform i wrote " My.Settings.LastUse = Today to put but i get an error eg "property LastUse is read only." Also i doubt about if its a user or an application setting because the application will be insatlled on more than one Pc. regards Georg "Family Tree Mike" <FamilyTreeMike@xxxxxx> schreef in bericht news:2F808078-DE89-4EA5-8EF8-5E567D03D326@xxxxxx Quote: > > > "Georg" wrote: > Quote: >> hi >> >> on a winform, made in Vb2005 , i want to save a date into al label . The >> date shoud be the last day that is application is used. Therfore i >> thought >> to store the day into a constante in the application. Next time the >> application runs, i see the this date on my startupform. How can i >> managed >> this ? >> >> regards Georg >> >> > This is what Application Settings were designed for: > http://msdn.microsoft.com/en-us/library/k4s6c3a0.aspx. > > Mike |
My System Specs![]() |
![]() |
| Thread Tools | |
| |