Click here to Skip to main content
15,112,199 members
Articles / Programming Languages / C#
Posted 22 Oct 2005


146 bookmarked

Zeta .NET Base Libraries

Rate me:
Please Sign up or sign in to vote.
4.41/5 (44 votes)
30 Mar 2007CPOL3 min read
A small set of general-purpose classes for using in .NET applications

Image 1

Image: Folder structure of the library.

(For the latest changes, see the history section below.)


In my zeta HelpDesk article, I've used a library I developed for our internal projects and customer projects to use as a slim thin base library. This article quickly introduces that library.

Originally I did not intend to provide the source or to provide an article at all about this library, but since nice people asked me to do so, here it is.

The library exists and is constantly enhanced since approximately 3 years. Therefore you can expect it to be rather stable and hopefully rather bug-free. But because of the fact that I never planned to release the library and that the library is mostly used by myself only (few exceptions), probably the design and documentation (through comments, only) isn't as good as it could be.

Goals of this Article and the Library

Probably you don't find any usage for all of the functions of the library. But maybe the one or the other class is something you looked for in the past. If this is true for you, you could either use the whole library with the DLL files, or you could extract the source code and compile it with your own projects.


The library requires the .NET Framework 1.1 to be installed. It also runs on the .NET Framework 2.0 (any beta/RC versions) on my test systems.

The library consists of three parts:

  • "Core": Classes and functions that can be used from within Windows Forms applications, console applications and Web applications.
  • "Windows": Classes and functions that are intended to be used from within Windows Forms applications. This library uses the "Core" library.
  • "Web": Classes and functions that are intended to be used from within Web applications. This library uses the "Core" library.

The library uses the following third party libraries which are included as binaries (DLLs):

The Code

In this first article, please excuse that I don't provide any deep information about the library. I wrote this first version of the article mainly to respond to the requests in the zeta HelpDesk article.

Therefore, for now please see the following three screenshots from Lutz Roeder's Reflector for the classes of the library.

Image 2

Image: "Core" library classes.

Image 3

Image: "Web" library classes.

Image 4

Image: "Windows" library classes.

Annotation for the "Core" library: When .NET 2.0 is released, I plan to rewrite the classes inside the "ZetaLib.Core.Data" namespace by using Generics in order to dramatically reduce the amount of duplicated code (e.g. the AdoNetOleDBHelper class and the AdoNetSqlHelper class have lot of duplicate code which could be reduced by the use of Generics).

Using the Code

To get working examples of how to use the library, for now please refer to the zeta HelpDesk article. The zeta HelpDesk applications makes heavy use of the ZetaLibNet libraries.


  • 2007-03-30
    • Added several minor features/classes/functions
    • Did some minor refactoring
    • Started commenting using GhostDoc
    • Started optimizing using FxCop
  • 2006-10-26
    • Maintenance release
  • 2006-07-07
    • The most notable additions are two Windows Forms controls that allow for tree views and list views with tri-state check boxes ("checked", "unchecked" and "indeterminate") beside the items:

      Image 5

      Image: Tree view control with checkboxes with three states.

      Image 6

      Image: List view control with checkboxes with three states.
  • 2006-03-31
    • Some minor enhancements and fixes
    • Nothing special, just the newest version
  • 2005-10-22
    • First release of the article


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Uwe Keim
Chief Technology Officer Zeta Producer Desktop CMS
Germany Germany
Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He has also teached programming to students at the local university.

In his free time, he does climbing, running and mountain biking. Recently he became a father of a cute boy.

Some cool, free software from us:

Deutschsprachiges Forum zu Elektromobilität und Tesla  
Windows 10 Ereignisanzeige  
German Developer Community  
Free Test Management Software - Intuitive, competitive, Test Plans. Download now!  
Homepage erstellen - Intuitive, very easy to use. Download now!  
Send large Files online for free by Email

Comments and Discussions

QuestionTrying to add a BackGround Image to the TriStateCheckBoxTree Pin
Tim8w22-Nov-21 7:00
MemberTim8w22-Nov-21 7:00 
GeneralAbout to host on Google Code and CodePlex Pin
Uwe Keim19-Jul-09 10:28
sitebuilderUwe Keim19-Jul-09 10:28 
GeneralHost It Somewhere Please! Pin
Lex Li22-Feb-08 23:55
professionalLex Li22-Feb-08 23:55 
GeneralRe: Host It Somewhere Please! Pin
Uwe Keim23-Feb-08 0:38
sitebuilderUwe Keim23-Feb-08 0:38 
GeneralRe: Host It Somewhere Please! Pin
Lex Li23-Feb-08 1:56
professionalLex Li23-Feb-08 1:56 
GeneralRe: Host It Somewhere Please! Pin
Uwe Keim19-Jul-09 10:23
sitebuilderUwe Keim19-Jul-09 10:23 
GeneralGreat! Pin
adrianmarinescu16-Sep-07 5:30
Memberadrianmarinescu16-Sep-07 5:30 
GeneralRe: Great! Pin
Uwe Keim16-Sep-07 6:31
sitebuilderUwe Keim16-Sep-07 6:31 
GeneralRe: Great! Pin
adrianmarinescu16-Sep-07 6:42
Memberadrianmarinescu16-Sep-07 6:42 
GeneralRe: Great! Pin
Uwe Keim16-Sep-07 6:45
sitebuilderUwe Keim16-Sep-07 6:45 
GeneralRe: Great! Pin
adrianmarinescu20-Mar-08 17:07
Memberadrianmarinescu20-Mar-08 17:07 
GeneralRe: Great! Pin
Uwe Keim20-Mar-08 22:01
sitebuilderUwe Keim20-Mar-08 22:01 
GeneralThanks Pin
tranbagu1-Aug-07 17:32
Membertranbagu1-Aug-07 17:32 
GeneralGreat Code Pin
coolboyx10-Jul-07 10:34
Membercoolboyx10-Jul-07 10:34 
GeneralRe: Great Code Pin
Uwe Keim10-Jul-07 10:39
sitebuilderUwe Keim10-Jul-07 10:39 
GeneralProblem building zeta library core Pin
Richard Guion31-Mar-07 19:06
MemberRichard Guion31-Mar-07 19:06 
GeneralRe: Problem building zeta library core Pin
Uwe Keim31-Mar-07 21:07
sitebuilderUwe Keim31-Mar-07 21:07 
GeneralRe: Problem building zeta library core Pin
Richard Guion4-Apr-07 7:50
MemberRichard Guion4-Apr-07 7:50 
GeneralNice Pin
FZelle31-Mar-07 2:15
MemberFZelle31-Mar-07 2:15 
JokeRe: Nice Pin
Uwe Keim31-Mar-07 2:35
sitebuilderUwe Keim31-Mar-07 2:35 
GeneralToo good Pin
bhaskar_priya30-Mar-07 23:46
Memberbhaskar_priya30-Mar-07 23:46 
GeneralRe: Too good Pin
Uwe Keim30-Mar-07 23:51
sitebuilderUwe Keim30-Mar-07 23:51 
GeneralExcellent - wish I could give a 5 again. Pin
Grav-Vt30-Mar-07 14:50
MemberGrav-Vt30-Mar-07 14:50 
GeneralRe: Excellent - wish I could give a 5 again. Pin
Uwe Keim30-Mar-07 22:23
sitebuilderUwe Keim30-Mar-07 22:23 
GeneralIndeterminate state to checked state Pin
Laurent Muller30-Oct-06 23:44
professionalLaurent Muller30-Oct-06 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.