Microsoft KB Archive/93014
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
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.
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.
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 "Device Unavailable" of "Path not found" error, instead of hanging the system.
Additional query words: VBmsdos BugList1.00 1.00
Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3