Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to Call "Enter Network Password" dialogbox i n Win2000?

How to Call "Enter Network Password" dialogbox i n Win2000?

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminsecuritytutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    host28
    wrote on last edited by
    #1

    I am programming item with windows authentication . Our client may be working in winxp or win2000.  Client must input username and password .So I use CredUIPromptForCredentials() in winxp. But this function is not supported in win2000. I have not found replaced function. I find that "Enter Network Password" dialogbox in win2000 is fit to me .But I don't know how to call this dialogbox and how to get user name,password? Could you give me some advice? Thanks

    X 1 Reply Last reply
    0
    • H host28

      I am programming item with windows authentication . Our client may be working in winxp or win2000.  Client must input username and password .So I use CredUIPromptForCredentials() in winxp. But this function is not supported in win2000. I have not found replaced function. I find that "Enter Network Password" dialogbox in win2000 is fit to me .But I don't know how to call this dialogbox and how to get user name,password? Could you give me some advice? Thanks

      X Offline
      X Offline
      Xing Chen
      wrote on last edited by
      #2

      The WNetConnectionDialogfunction starts a general browsing dialog box for connecting to network resources. The function requires a handle to the owner window for the dialog box.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups