Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete file recycle in FPW 2.6
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00641063
Message ID:
00641430
Views:
8
>>>That can help if somebody can explain how to pass this structure to Foxtool's REGFN()...
>>>
>>I think that Rick Strahl's site has an fll which allows you to call 32 bit functions. You might check there. You can't use Foxtools to register SHFileOperation because it's a 32 bit dll.
>
>Well, is there another way to do this simple operation?
>Like: Copy file "c:\myfile.txt" to "c:\recycler\myfile.txt" or something like that?

Dubious at best. See my MESSAGE#639535. In that message I tried, in VFP 7.0, to do this without success. The message documents what happened. Given that the Recycle Bin is a virtual folder, and, if I recall correctly, it may not be in a particular location, I doubt that you could do this. However, since I've never tried, I can't be 100% certain.

>Anyway, I will forward your solutions to the person who ask for that in the French forum and see what he think about it...
>
>Thank you all :-)

You're welcome.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform