Solved

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

Posted on 1998-06-06
3
124 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 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

738 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