?
Solved

How to ask the user to insert a floppy in drive A?

Posted on 1998-06-06
3
Medium Priority
?
126 Views
Last Modified: 2010-05-03
How can I ask the user to insert a floppy in drive A? This must be done from within a VB5 application. The application is paused for a while and has to wait for the user's action.
Code please.
0
Comment
Question by:Zorro032798
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 120 total points
ID: 1462676
Try something like this:
1.Put a filelistbox on your form, name it fl1
2 Do this:

on error resume next
Do
MsgBox "Insert a disk into drive a and press Enter"
fl.path="a:\"
Loop Until Err=0
On error goto 0
0
 

Author Comment

by:Zorro032798
ID: 1462677
Works fine. Thanks, Mike.
0
 

Author Comment

by:Zorro032798
ID: 1462678
Oops, forgot to grade your answer.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question