This link "How to Write, Use, and Test a Singleton Class " shd be usefull toyou.http://www.devx.com/tips/Tip/18190