Microsoft KB Archive/93014

= Program Hangs If Letter Changes to Disconnected Network Drive =

PSS ID Number: 93014

Article Last Modified on 1/8/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q93014



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
 Start VBDOS.EXE. Select New Form... from the File Menu (Form1.FRM). 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.  Then in the Drive_Change event procedure add the following code. Sub Drive1_Change Dir1.Path = Drive1.Drive End Sub  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 &quot;Device Unavailable&quot; of &quot;Path not found&quot; error, instead of hanging the system.

Additional query words: VBmsdos BugList1.00 1.00

Keywords: KB93014

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.