Friday, March 20, 2009

Time Zone Class for .Net 1.1

Thanks to a configuration required for a customer at work, I had some fun attempting to track down a .Net 1.1 version for Time Zones. Ya know, those things that drive our life that Microsoft some how explicitly left out of the .Net 1.1 framework.

At any rate, I finally got some help from Kulrom at VBCity.com and put together the following piece of code, hope it helps someone.

Essentially when you call GetTimeZones it populates a combo box with all the timezones listed in the registry as well as populating a collection which holds this information to be used later. It's all rather pretty. The funcationality not necessarily the code.

Well, enjoy!
The code is in my post in the thread mentioned earlier at VBCity.com

1 comment:

  1. Hello!
    On Stack overflow (http://stackoverflow.com/questions/1116465/how-do-you-share-code-between-projects-solutions-in-visual-studio) you mentioned sharing code between WinMo and Winforms projects using a single file.. can you elaborate on how to do this please? Thanks!

    -ghostinak@gmail.com

    ReplyDelete