Jump to content

Software issue (using a program written in VB)


Queen Prawn

Recommended Posts

Can anyone think of a reason why a program will run if and only if it is loaded using floppy disks? We loaded all the diskettes onto a CD and tried that way (since my work computer doesn't have an A:\ drive). It will load up, but when you try to run the software you get an error saying the database is already open. The IT guy and I tried to solve this for a half a day before giving up.

 

It is bugging me because it doesn't make sense. Why should the media the program is being loaded onto my PC from make any difference?

Link to comment
Share on other sites

QUOTE(Queen Prawn @ Apr 30, 2007 -> 01:21 PM)
Can anyone think of a reason why a program will run if and only if it is loaded using floppy disks? We loaded all the diskettes onto a CD and tried that way (since my work computer doesn't have an A:\ drive). It will load up, but when you try to run the software you get an error saying the database is already open. The IT guy and I tried to solve this for a half a day before giving up.

 

It is bugging me because it doesn't make sense. Why should the media the program is being loaded onto my PC from make any difference?

 

At some point is the program trying to read the "A" drive? If the program makes a call to a non existent drive, it may shut down as an error. Try renaming the CD drive.

 

Off the top of my head, it is the only thing I can think of.

 

OK not the only thing. Could it be that when switching from one floppy to the other the install programs closes that database? perhaps putting them on separate cds and renaming the drive may work.

 

OK, more than two. You have checked that the program and floppy disks are good? Isolate all variables so you are working with :known to be good" stuff.

 

Why do I feel stupid telling this to an engineer who is far smarter than I?

Link to comment
Share on other sites

It shouldn't. We are loading this on an older computer where it will run. We load it from the A:\ to the computer. After that the diskettes are put to the side and not used again. After that point, we run through the setup and then run the program.

 

That is why this is so confusing to me - why will it run when we save the files directly from the diskettes and then run setup but not if we save the diskettes to a shared drive, copy them to our local drive and then try to run the setup file on them?

Edited by Queen Prawn
Link to comment
Share on other sites

QUOTE(Queen Prawn @ Apr 30, 2007 -> 01:50 PM)
It shouldn't. We are loading this on an older computer where it will run. We load it from the A:\ to the computer. After that the diskettes are put to the side and not used again. After that point, we run through the setup and then run the program.

 

That is why this is so confusing to me - why will it run when we save the files directly from the diskettes and then run setup but not if we save the diskettes to a shared drive, copy them to our local drive and then try to run the setup file on them?

 

It's been so long since I loaded a program from disks. Is this a DOS based program?

 

Let me see if I understand the way this installs. All the disks are written to a directory and then you install? or is there an install shell which sequentially calls for them?

Link to comment
Share on other sites

It sounds to me like something in the coding itself is mapped incorrectly. Maybe that's too much of a "brilliant" observation. :bang

 

Seriously, sometimes when things are mapped in VB, it's not written to a:\ but \\shared\file\savetome.db - and if that's set up wrong, it can't figure out where to save it so it terminates the program.

Link to comment
Share on other sites

Floppy disks use a different method for installing, and normally you will run into problems when you try to just copy the contents of them to a cd or other storage device.

 

They will install, but the program will not run properly. Where are the files being installed to? If the program is self-contained (not installing to any of the windows directories), you may be able to copy the entire installed progam from the original comp to a usb drive, then to the second comp.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...