Search found 20 matches: recycle

Return to advanced search

Re: Question about deleting files and the trash

... : you must use "full-Path" If pFrom is set to a file name without a full path, deleting the file with FO_DELETE does not move it to the Recycle Bin, even if the FOF_ALLOWUNDO flag is set. You must provide a full path to delete the file to the Recycle Bin. https://learn.microsoft.com/en-us/windows/win32/api/shellapi/ns-shellapi-shfileopstructa
by Jimmy
Wed Jan 03, 2024 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1194

Re: Question about deleting files and the trash

https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationa
Returns zero if successful; otherwise nonzero


so it seems as it is properly doing it...

I can't understand why they don't appear at the recycle bin
by Antonio Linares
Fri Dec 22, 2023 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1194

Re: Question about deleting files and the trash

Hello Jimmy,

Deleting files by using ShFileOperation() works fine.
But the deleted files are not moved to the recycle bin yet.
So I need to set the flag FOF_ALLOWUNDO.
But how do I do that?

Thanks.
by driessen
Fri Dec 22, 2023 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1194

Re: Question about deleting files and the trash

hi,

i´m not sure if there is a simple API Call. i use SHFile() Operation like Explorer

when set Flag FOF_ALLOWUNDO it will move deleted Files into Recycle-bin
have a look at https://forums.fivetechsupport.com/viewtopic.php?t=42417
by Jimmy
Thu Dec 21, 2023 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1194

Question about deleting files and the trash

Hello,

If I delete a file in my application, of course, the file is gone.
But is there a possibility to delete file in a way that the deleted files can be restored from the trash?
Moving to $Recycle.Bin doesn't seem to be enough.

Thank you.
by driessen
Thu Dec 21, 2023 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1194

Re: FW_CdxCreate()

for me this expr is wrong

if lMemory
INDEX ON RECNO() TAG RECYCLE FOR DELETED() MEMORY ADDITIVE
else
INDEX ON RECNO() TAG RECYCLE FOR DELETED()
endif

what need index a dbf for the records deleted ?
I need to index dbf for .not. deleted() !!!!
by Silvio.Falconi
Sat Dec 12, 2020 4:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_CdxCreate()
Replies: 5
Views: 771

FWH 19.01: Recycling Deleted Records

... // default NIL param: 1. Omitted. Does not change the setting. Returns the current setting. 2. .T.. If set to .t., DBFAPPEND() will always try to recycle deleted records. 3. .F.. If set to .t., DBFAPPEND() does not recycle. Same as DBAPPEND() 4. NIL. If set to NIL, DBFAPPEND() adopts default behavior ...
by nageswaragunupudi
Tue Feb 19, 2019 1:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 19.01: Recycling Deleted Records
Replies: 6
Views: 1448

Re: New FTDN January/Enero 2019 (FWH 19.01)

... reciclados si y sólo si tiene al menos una etiqueta de índice para la condición "FOR DELETED()" Por ejemplo: INDEX ON RECNO() TAG RECYCLE FOR DELETED() Este índice se usa para recoger rápidamente un registro eliminado que se puede bloquear y reciclar RECUPERANDO todos los campos. ...
by Antonio Linares
Mon Feb 11, 2019 6:37 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2019 (FWH 19.01)
Replies: 4
Views: 2717

New FTDN January/Enero 2019 (FWH 19.01)

... first tries to recycled records if and only if it has atlest one index tag with for condition "FOR DELETED()" eg: INDEX ON RECNO() TAG RECYCLE FOR DELETED() This index is used to quickly pick up a deleted record that can be locked and recycles it by RECALLing and blanking all fields. ...
by Antonio Linares
Mon Feb 11, 2019 1:08 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2019 (FWH 19.01)
Replies: 4
Views: 2717

Re: ADO RDD xHarbour

... rdd. The drawback is that we must use a dbf table in a network share with another rdd for this to work. Its very small recsize only 50b and has a recycle scheme for records not needed. Still have some issues with dates and NULL values in adordd.
by AHF
Wed Apr 29, 2015 5:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 448103

Re: ADO RDD xHarbour

... a record as deleted with truly deleted in SQL using a delete field in the tables? Yes. In dbf apps we have to pack to clean it and some kind of recycle to recover it when adding records. If we truly delete it nothing else mus be done. Although recall and pack exists in adordd but do nothing. ...
by Enrico Maria Giordano
Fri Apr 10, 2015 11:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 448103

Re: ADO RDD xHarbour

... mark a record as deleted with truly deleted in SQL using a delete field in the tables? In dbf apps we have to pack to clean it and some kind of recycle to recover it when adding records. If we truly delete it nothing else mus be done. Although recall and pack exists in adordd but do nothing. ...
by AHF
Fri Apr 10, 2015 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 448103

Re: una pequeña duda

... 0x0008 // <user name>\Recent #define CSIDL_SENDTO 0x0009 // <user name>\SendTo #define CSIDL_BITBUCKET 0x000a // <desktop>\Recycle Bin #define CSIDL_STARTMENU 0x000b // <user name>\Start Menu #define CSIDL_MYDOCUMENTS 0x000c // logical "My Documents" desktop ...
by cnavarro
Sun Feb 23, 2014 6:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: una pequeña duda
Replies: 5
Views: 2178

Re: Ejecucion "muy" lenta en accesos concurrentes.

... [homes] comment = Home Directories browseable = No veto files = /*.pif/*.mp3/*.avi/*.mpg/*.iso/*.wma/*.nrg/*.mpeg/*.{*}/ directory mask = 0700 recycle:config-files = /etc/samba/samba-recycle.conf valid users = %S read only = No vfs objects = recycle create mask = 0600 [profiles] comment = Perfiles ...
by rcastano
Fri May 15, 2009 1:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecucion "muy" lenta en accesos concurrentes.
Replies: 9
Views: 1661

Re: ShellExecute and Outlook

... imports the defined MAPI-Profile (*.prf). If Outlook allready is open, the Profile will be saved in the waiting-loop and imported at next start. /recycle Starts Outlook with a Outlook-Window. Works together with /explorer or /folder. /explorer Opens a new Window in Explorer-Mode (Hyperlink-groin ...
by Wanderson
Sun Mar 08, 2009 8:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ShellExecute and Outlook
Replies: 9
Views: 3321
Next

Return to advanced search