How do we get the Active Directory Tree/ Forest.

How do we get Active Directory Tree/Forest programmatically. Its similar to the select users computers dialog location button click tree.
thanks
rv
[160 byte] By [luvrahul] at [2007-11-19 15:06:55]