Solved

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

Posted on 1998-06-06
3
121 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question about INSTR  - need to extract data MS ACCESS query 6 53
VBA: Select SQL query based on a config Sheet v2 11 38
Visual Studio 2005 text editor 10 35
TT Auto Dashboard 13 80
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

932 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

17 Experts available now in Live!

Get 1:1 Help Now