Solved

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

Posted on 1998-06-06
3
118 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
Comment Utility
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
Comment Utility
Works fine. Thanks, Mike.
0
 

Author Comment

by:Zorro032798
Comment Utility
Oops, forgot to grade your answer.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now