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. Refreshing network connections folder after changing phonebook

Refreshing network connections folder after changing phonebook

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminlinuxtutorialquestionannouncement
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
    H r ld
    wrote on last edited by
    #1

    Hi, after copying a specific phonebook file to the standard location the network connections folder doesn't update until a refresh (F5) is forced. I tried this programmatically with the following code: PIDLIST_ABSOLUTE pidl; SHGetSpecialFolderLocation(NULL, CSIDL_CONNECTIONS, &pidl); SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST | SHCNF_FLUSH, pidl, NULL); CoTaskMemFree(pidl); Unfortunately this doesn't work. Any idea how to force the shell to update it's network connection folder? Kind regards, h

    W 1 Reply Last reply
    0
    • H H r ld

      Hi, after copying a specific phonebook file to the standard location the network connections folder doesn't update until a refresh (F5) is forced. I tried this programmatically with the following code: PIDLIST_ABSOLUTE pidl; SHGetSpecialFolderLocation(NULL, CSIDL_CONNECTIONS, &pidl); SHChangeNotify(SHCNE_UPDATEDIR, SHCNF_IDLIST | SHCNF_FLUSH, pidl, NULL); CoTaskMemFree(pidl); Unfortunately this doesn't work. Any idea how to force the shell to update it's network connection folder? Kind regards, h

      W Offline
      W Offline
      wahaha01
      wrote on last edited by
      #2

      I alse meet this kind of question. I want to ask too. Is there anyway to force Shell to update "Connections" folder's view? Thank you.

      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