Search found 384 matches: deleting

Return to advanced search

Re: To Nageswrao Del Objs on TscrollPanel

... )      :Refresh()   ENDreturn .t.  We'll look into other issues later https://i.postimg.cc/FFD9FZgb/nnn.jpg while deleting some records I noticed that some buttons cannot be pressed and when they are deleted from xbrowse the images do not refresh immediately but ...
by Silvio.Falconi
Tue Mar 05, 2024 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 639

Re: To Nageswrao Del Objs on TscrollPanel

... I cannot delete printer button Yes. The function I provided does not allow the last control to be deleted. Yes. I understood. Do have you tried deleting all the btnbmps and moving the scrollbar? It makes this mistake for me https://i.postimg.cc/G34Z81nn/1.png
by Silvio.Falconi
Tue Mar 05, 2024 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 639

Re: Question about deleting files and the trash

... it work with Recylebin Note : 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 ...
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: 1174

Re: Question about deleting files and the trash

Javier,

Just moving to the trash, how do I do that?

To everyone, any idea what is going wrong?

Thanks.
by driessen
Wed Jan 03, 2024 8:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1174

Re: Question about deleting files and the trash

Hello Secarse: Have you tried moving it to the trash without deleting it? It disappears from the source folder and goes to the trash can. greeting Javier Lloris javierllorisprogramador@gmail.com Blogs personales: Programación: https://javierlloris.blogspot.com/ ...
by jll-fwh
Tue Dec 26, 2023 7:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1174

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: 1174

Re: Question about deleting files and the trash

Antonio,

The answer I get is : 0,00
by driessen
Fri Dec 22, 2023 12:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1174

Re: Question about deleting files and the trash

Please do:

MsgInfo( DeleteFile( DOCDOEL, ArcLst ) )

and let us know what you get
by Antonio Linares
Fri Dec 22, 2023 12:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1174

Re: Question about deleting files and the trash

Antonio, I tried that, but there is no chance. No file in the recyle bin. This is the code I use: #define FO_DELETE         0x0003#define FOF_ALLOWUNDO     0x0040******************************************************************************DeleteFile( DOCDOEL, ArcLst )  // DOCDOEL = file tha...
by driessen
Fri Dec 22, 2023 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1174

Re: Question about deleting files and the trash

Dear Michel,

It is the fifth parameter when you call SHFILEOPERATION()
by Antonio Linares
Fri Dec 22, 2023 11:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1174

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: 1174

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: 1174

Re: Question about deleting files and the trash

Dear Michel, It seems as this code has to be used: #include <stdio.h>#include <windows.h>#include <shellapi.h>#define FO_DELETE 3 //Delete the files specified in pFrom.#define FOF_ALLOWUNDO 0x40 //Preserve undo information, if possible.#define FOF_NOCONFIRMATION 0x0010 //Do not ask...
by Antonio Linares
Thu Dec 21, 2023 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1174

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: 1174

Re: DBF . Commit

... .. The only reason I use dbfcdx is to write temporary data to use in a report writing the report database to the local workstation hard drive, and deleting the .dbf when I am done. The only visability problem I can forsee is if a User has a dbf or oRs recordset up on their screen and that person ...
by Rick Lipkin
Tue Oct 24, 2023 4:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2322
Next

Return to advanced search