Solved

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

Posted on 1998-06-06
3
123 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
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 30 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

830 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