Solved

Select Computer dialogue box - which call?

Posted on 1997-04-21
3
159 Views
Last Modified: 2010-04-03
What is the API call for the "Select Computer" dialog, which can be found e.g. in the Registry Editor (Registry | Select Computer... from menu)?

I know there are API calls for connecting resources (disks/printers) over a network with WNetConnectionDialog and WNetDisconnectDialog, but that's not exactly what I'm looking for. There is a function called NetQueryDisplayInformation which I wonder is what I'm looking for, but I get 'Undeclared identifier:...' when I try using it.
0
Comment
Question by:freyrb
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
javiertb earned 100 total points
ID: 1335561
I suggest you to take a look at the Delphi Super Page where you'll find the BrowseFolder component that enables you to choose computers/directories and use UNC path-names. It's free.


0
 

Author Comment

by:freyrb
ID: 1335562
I found two browse components and tested them, and while they are very similar to what I'm looking for there still persist a small problem. One of these components (TBrowseDirectoryDlg) has the ability to "root" itself at the network level, and setting a selection of only computers is also possible. This is all good, but I found no way of getting the information from the dialog of *which* computer was selected. The OnSelChanged event returns an empty string when I select a computer (but a path when a directory is selected).
This is also the case with the other component, i.e. the selection string is empty when a computer is selected. So maybe its not the components that are the problem but the ShellObject unit. I myself use Delphi 2.0 (no upgrade), but the SHLOBJ.DCU comes with Delphi 2.01. I used a custom SHLOBJ replacement, which I understand is all right.
Bottom line is, and I repeat this, that I need to reproduce the dialog box that pops up e.g. in the Registry Editor.
0
 

Author Comment

by:freyrb
ID: 1335563
Adjusted points to 100
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now