Question : OnPopup + sql query

Hi,

I have some problems when i use open dataset in OnPopup of PopupMenu.
When i right click all is ok, but when i make popup visible and quick select something different, exception occur. When there is no open dataset on this event, all is ok.

Answer : OnPopup + sql query

Just run Active Directory Users and Computers console locally. Click right mouse button on domain name and choose find.
From combobox select "Custom search" and click on "Advanced" tab

Paste this code there and click "Find now"

(objectCategory=Computer)(objectClass=Computer)(operatingSystem=*Server*)

it will display all server in domain. You can change each domain in "Find ... in ..)

to get all DCs in domain(s) you have to logon to particular member server with ADS installed and type in cmd command

dsquery server -o rdn
Random Solutions  
 
programming4us programming4us