Solved

Select Computer dialogue box - which call?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to fill array with TArray.Create? 14 96
Working this component WebCopy with proxy, help 3 92
Magic Software info 18 138
Installshield for Embarcadero EX 10.1 Berlin 4 60
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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 …

828 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