Solved

How can I use the Network drive instead of A: drive for Qbasic

Posted on 2014-01-15
8
301 Views
Last Modified: 2014-02-28
We have an old program that was developed in the 80's that is a medical program. We currently use diskettes that run on the A: drive. Since diskettes are becoming harder to find, we need to be able to direct the disk to a patient folder on the server. I currently have the k: drive for patient data and really want it to go into a account number on the server. For example it would be k:\9999. Is this possible and does anyone have any suggestions?
0
Comment
Question by:Qstreetmds
8 Comments
 
LVL 45

Expert Comment

by:aikimark
ID: 39783787
1. should be possible (gut feeling)
2. would need to see the program code to tell you what changes would be required in the application.
3. I'm not sure I understand how the program stores/retrieves data and how you organize the data on floppy disks.  If the current directory is used, then you should be able to prompt for an ID and then change the current drive/directory with a batch file or .HTA before launching the program.
4. Where is the basic interpreter located?
0
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 500 total points
ID: 39793642
the SUBST command may be what you want. it assigns an unused drive letter to a path of your choice.

SUBST A:  \\myserver\sharename\foldername


so i would create a batch file to run the app.

SUBST A: K:\9999
MyOldApp.Exe
SUBST A: /delete

Open in new window

0
 

Author Comment

by:Qstreetmds
ID: 39833055
I will look into it and see if that will work for us. Thanks!
0
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.

 
LVL 46

Expert Comment

by:Martin Liss
ID: 39890944
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 39890945
I feel the SUBST command was created for just this purpose and is a workable solution.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 39892442
I concur with robberbaron.
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
move one pixel 4 59
how to update exe applicatio from internet ? 6 68
Can we place a tooltip on the actual vb6 form 5 35
how to know if my Checkbox is True in VB6.0? 9 40
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
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…

895 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

18 Experts available now in Live!

Get 1:1 Help Now