Solved

Select Computer dialogue box - which call?

Posted on 1997-04-21
3
167 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

821 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