Program Hangs If Letter Changes to Disconnected Network Drive

ID: Q93014


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


SYMPTOMS

A program that uses the Drive Control box can hang if you change the network drive letter to a letter of the network drive that has been disconnected. This problem is noted in the README.TXT file of this product.


STATUS

Microsoft has confirmed this to be a bug in the Standard and Professional Editions of Microsoft Visual Basic for MS-DOS, version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

This information, as well as other information about Microsoft Visual Basic for MS-DOS, version 1.0, can be found in the file README.TXT that was installed along with the product.


MORE INFORMATION

The following is a section of the README.TXT file on this problem:

Accessing Network Drives

Setting the Drive or Path properties to a network drive may hang your application if the drive has disconnected.

Steps to Reproduce Problem

  1. Start VBDOS.EXE.


  2. Select New Form... from the File Menu (Form1.FRM).


  3. Add and Drive List Box control and a Directory List box control to the form from the ToolBox in FD.EXE. Save the file and exit FD.EXE.


  4. Then in the Drive_Change event procedure add the following code.
    
          Sub Drive1_Change ()
            Dir1.Path = Drive1.Drive
          End Sub 


  5. Press the F5 key to run and change to a Drive that you know that you are no longer connected to. If you can find such a drive, you may hang the machine, once you try to select the drive letter. You may also receive a "Device Unavailable" of "Path not found" error, instead of hanging the system.


Additional query words: VBmsdos BugList1.00 1.00

Keywords :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.