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. Visual Basic
  4. connecting to network folder using vb.net

connecting to network folder using vb.net

Scheduled Pinned Locked Moved Visual Basic
questioncsharpsysadminhelp
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.
  • P Offline
    P Offline
    pampatipaveen
    wrote on last edited by
    #1

    HI, In my system, MyNetworkPlaces-> I have few network folders shared for me. when I click those to view, it prompts the dialogbox to connect to that folder. If I give username and passwork it connects. so now in my VB.net application, I am asking user to select the network folder, by showing Browse for folder dialog box. The thing is when user selects, any network folder I want to know whether it is connected or not, if not I need to prompt the dialogbox with username and password fileds for connecting to it. so How can I achieve this using vb.net? and what class I need to use for connecting to network folder? I am really struggling for this. Please help me as soon as possible. For ex: I want to connect to \\machine1\somefolder or \\machine2\somefolder, when user selects this folder I need to know whether is it accessinble for user machine, if no i need to prompt the dialog box to connect with username and password as windows shows. Thanking you Regards Praveen P

    M 1 Reply Last reply
    0
    • P pampatipaveen

      HI, In my system, MyNetworkPlaces-> I have few network folders shared for me. when I click those to view, it prompts the dialogbox to connect to that folder. If I give username and passwork it connects. so now in my VB.net application, I am asking user to select the network folder, by showing Browse for folder dialog box. The thing is when user selects, any network folder I want to know whether it is connected or not, if not I need to prompt the dialogbox with username and password fileds for connecting to it. so How can I achieve this using vb.net? and what class I need to use for connecting to network folder? I am really struggling for this. Please help me as soon as possible. For ex: I want to connect to \\machine1\somefolder or \\machine2\somefolder, when user selects this folder I need to know whether is it accessinble for user machine, if no i need to prompt the dialog box to connect with username and password as windows shows. Thanking you Regards Praveen P

      M Offline
      M Offline
      mikasa
      wrote on last edited by
      #2

      Well, I am not sure but I am thinking that no matter how you select that Share, it will prompt you for a User / Password, so you may not have to handle that in your App.

      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