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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. not able to disconnet the mapped drive with "NET USE" command in VB6

not able to disconnet the mapped drive with "NET USE" command in VB6

Scheduled Pinned Locked Moved Visual Basic
helpquestion
3 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.
  • A Offline
    A Offline
    Ankur Bakliwal
    wrote on last edited by
    #1

    Hi, My VB6 program is using NET USE command to connect the remote folder to get some files. This program also disconnects after the processing of the files by using following command- net use \\10.10.0.234\abc_folder /delete At above command line, my program gets hanged When i run the above command in DOS command prompt, its giving me following error - There are open files and/or incomplete directory searches pending on the connection to \\10.10.0.234\abc_folder Is it OK to continue disconnecting and force them closed? <Y/N> [N]: Does anybody know about the error and solution... :sigh: Please help me by giving solution ASAP..... Thanks In Advance---:rose: Ankur Bakliwal Mumbai, India

    Thanks, Ankur Bakliwal

    A 1 Reply Last reply
    0
    • A Ankur Bakliwal

      Hi, My VB6 program is using NET USE command to connect the remote folder to get some files. This program also disconnects after the processing of the files by using following command- net use \\10.10.0.234\abc_folder /delete At above command line, my program gets hanged When i run the above command in DOS command prompt, its giving me following error - There are open files and/or incomplete directory searches pending on the connection to \\10.10.0.234\abc_folder Is it OK to continue disconnecting and force them closed? <Y/N> [N]: Does anybody know about the error and solution... :sigh: Please help me by giving solution ASAP..... Thanks In Advance---:rose: Ankur Bakliwal Mumbai, India

      Thanks, Ankur Bakliwal

      A Offline
      A Offline
      Ashutosh Phoujdar
      wrote on last edited by
      #2

      Try this command while disconnecting : net use \\10.10.0.234\abc_folder /delete /y I hope this will resolve the issue :) Thanks Ashu

      dnpro "Very bad programmer"

      A 1 Reply Last reply
      0
      • A Ashutosh Phoujdar

        Try this command while disconnecting : net use \\10.10.0.234\abc_folder /delete /y I hope this will resolve the issue :) Thanks Ashu

        dnpro "Very bad programmer"

        A Offline
        A Offline
        Ankur Bakliwal
        wrote on last edited by
        #3

        Thanks buddy............. :) it works.......... :-D you are gr8.... ;) :-O :thumbsup: Thanks alot ............. :cool:

        Thanks, Ankur Bakliwal

        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