如何在Active Directory中搜索和显示计算机名称 [英] How to search and display computer names in Active Directory

查看:70
本文介绍了如何在Active Directory中搜索和显示计算机名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Visual Basic 2005程序,我希望用户从Visual Basic的组合框中选择一个房间#,我希望结果显示在列表视图中.我在尝试弄清楚如何编码我的搜索字符串以在活动目录中搜索用户从combox中选择的房间号并显示在列表视图中时遇到麻烦.任何帮助表示赞赏.在此先感谢

I have a visual basic 2005 program in which I would like the user to select a room# from a combobox in visual basic from there I would like results to be displayed in my list view. I am having trouble trying to figure out how to code my search string to search the active directory for the room number the user selected from the combox and display in the list view. Any help is appreciated. Thanks in advance

推荐答案

在询问之前,应始终至少搜索文章存档.

您可能已经发现在VB.NET中使用Active Directory [
You should always search the articles archive at the very least before asking.

You might have found Working with Active Directory in VB.NET[^], if you had.


是的亨利指出,您需要先搜索它.我收到了一些不错的文章,可能会对您有所帮助.看看
Link1- [在VB.Net中使用Active Directory] ​​ [ Link2- [列出Active Directory中的所有计算机] [
Yeah as Henry Pointed you need to search it first. I got some good article which might help you. take a look
Link1-[Working with the Active Directory in VB.Net][^]
Link2-[Listing all Computers in Active Directory][^]


这篇关于如何在Active Directory中搜索和显示计算机名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆