here is a mixed solution, use C# and VB.NET together:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=ePO2jGF3CHA.2052%40TK2MSFTNGP11.phx.gbl
also seehttp://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=ac7b2754.0207221853.14e7aa01%40posting.google.com&rnum=1&prev=/groups%3Fq%3DC%2523%2BDirectoryEntry%2BServerState%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3Dac7b2754.0207221853.14e7aa01%2540posting.google.com%26rnum%3D1