Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird error running VFP6 app in XP Pro
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00596256
Message ID:
00596383
Views:
25
>>>Hi,
>>>
>>>I have an VFP6 (SP5) app that I am now testing on my new laptop running Windows XP Professional (512 MB Ram, 1.2 GHz - man is it fast...)
>>>
>>>Anyway, here's the issue: Running in development mode - everything is fine. However, when I compile the exe and run it - I get a messagebox that says:
>>>
>>>messagebox title: "switch2.exe - No Disk"
>>>messagebox contents: "There is no disk in the drive. Please insert a disk into drive E:."
>>>
>>>My options are Cancel, Try Again and Continue. Clicking Cancel or Continue brings me to my login screen. (i.e. this message doesn't appear to mean anything - it's just annoying).
>>>
>>>Has anyone else seen this behaviour? Any idea why I would be getting this message - and only when running from the compiled exe?
>>>
>>>Thanks in advance, Al
>>
>>
>>Can it be so that you have a CDRom drive (etc.) and if yes, the message won't appear when you put a CD in ? Not that this is the solution, but we can get to it then ... ;)
>
>Yes, E:\ is the CD drive. When I put any old CD in the drive - I don't get this message. Any idea as to what is happening?

Alan,

Okay, now there will be a difference between your DE-environment and the EXE environment I guess. Well, is or is not, now start looking for something like LASTDRIVE = from the old "I don't know what OS". One thing I know by heart : various OSses react differently to this. Anyhow, when you allow the client (PC) to look for the drive (parts of) your app is on (dynamically I mean), it will scan the E: drive but finds nothing there (so : load disk please). In the end I guess it's your own app doing it, and the EXE working some differently from the DE ...

HTH,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform