We help IT Professionals succeed at work.

Mapping Network Drive Dialog & Rundll32

eclipse
eclipse asked
on
Medium Priority
445 Views
Last Modified: 2013-12-03
I am writing an application that gathers information about various source locations of utilities. And in one dialog box I want to give the user the option to map a network drive to browse for more programs.  My question is this: How do I make the "Map Network Drive" dialog box appear? I know that (for example) you can use RUNDLL32 to open the 'Open With' dialog box, and I was wondering/hoping there was a similar way to do this for Map Network Drive. Does anyone out there know how to do this? Or another way to spawn this dialog box?

I am writing this application using Borland C++ Builder if that helps at all.

Thanks alot.

Eclipse
Comment
Watch Question

Commented:
See the Win32 SDK documentation on WNetConnectionDialog().  That will do what you are looking for.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.