Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPW 2.6 crashes when getfile() references non C: drive
Message
From
05/04/2005 21:50:49
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
01001153
Message ID:
01001768
Views:
12
Solution! (tnanks for everyone's help)

FPW 2.6 applications may crash when a user accesses the drive letter drop down on the getfile, putfile and getdir dialogs.

Two workarounds:

1. Make sure every drive letter in the drop down list has an accessiable drive - this means floppy drives and CD drives must have a formatted disk in them or FPW will crash. This applies even to "ghost letter" floppy drives found on newer workstations/laptops with a floppy drive controller, but no physical floppy drive.

I was unable to hide drive A: from FPW 2.6 - even disabling this drive via Control Panel failed to hide drive A:. The workaround is to map drive A: to a valid drive letter so that FPW can access this drive without failure. In my case I used the DOS SUBST command to map A: to my C: drive.

SUBST A: C:\

2. The other workaround is to have users AVOID THE DRIVE DROPDOWN on the getfile, putfile and getdir dialogs. Users can change these dialog's active drive letter by entering JUST the drive letter and colon in the file name textbox and then striking the Enter key or clicking the OK button. FPW will recognize the user entered a drive letter vs. a file/folder name, and change the dialog's active drive accordingly.
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Reply
Map
View

Click here to load this message in the networking platform