Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MediaCopy method is distribution
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00643976
Message ID:
00645924
Views:
12
>>>>>Hi everybody,
>>>>>
>>>>>I've just received control on Distribution application. This application is quite complicated, but here is one method, which looks suspicious to me:
>>>>< snip >
>>>>>
>>>>>I believe, on some systems if drive is not ready, we'll see the system level error (Windows error) and not VFP error. I have IsDriveReady function, which uses WSH. Do you think, I should re-write this method?
>>>>>
>>>>>What would be your suggestions?
>>>>>
>>>>>Thanks in advance.
>>>>
>>>>"If it ain't broken, don't fix it". :)
>>>>Under NT/WIn2K you'll get Windows dialog if there's no diskette in the floppy drive. If you concern about that add a few lines of code from mskb #Q191501 to supress those messages.
>>>>BTW, looks like the technique from this mskb is implemented in VFP7 because no Windows messages generated in VFP7 under the same conditions that causes them under VFP6.
>>>
>>>I've tried this code on Windows NT 4.0 and it didn't give me a Windows error message.
>>
>>What code we're talking about?
>The original code from the first message. I didn't incorporate your suggestion and decided to test on Windows NT (I don't have Windows 2000 here). I'm using VFP6 SP4. diskspace('a:') didn't get me an error on windows NT.

Sounds familiar. That's what happend when I tried it the first time under Win2K. When I tried the next day, message would popup. I've no idea why.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform