This article was previously published under Q139434
When you try to run a Microsoft Visual Basic 3.0 program in Windows,or try to start an MS-DOS session, you may receive the following errormessage:
A device attached to the system is not functioning
When you click OK, the program or the MS-DOS session may not start.
This error message can occur if either of the following files is damagedor missing:
To resolve this issue, use the appropriate method:
If you receive the error message when you try to run a Visual Basic 3.0program in Windows, reinstall the Vbrun300.dll file. To do so, reinstallthe Visual Basic 3.0 program that includes the Vbrun300.dll file on itsSetup disks.
If you receive the error message when you try to start an MS-DOS session,extract a new copy of the Winoa386.new file from your original Windowsdisks or CD-ROM to the Windows\System folder, and then rename theWinoa386.new file to Winoa386.mod. To do this, follow these steps:
Extract the Winoa386.new file from your original Windows 95 disks or CD-ROM to the Windows\System folder. The Winoa386.new file is located in the following locations:
The Win95_03.cab cabinet file on the Windows 95 and Windows 95 OEM Service Release 2 (OSR2) CD-ROM.
The Win95_03.cab cabinet file on disk 3 of the original Windows 95 DMF floppy disks.
The Win95_04.cab cabinet file on disk 4 of the original Windows 95 non-DMF floppy disks.
The Win98_45.cab cabinet file on the Windows 98 CD-ROM.
For information about using the Extract tool, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: 129605 TITLE : How to Extract Original Compressed Windows Files
At the command prompt, type the following commands, pressing ENTER after each command: