Search found 487 matches

by Juan Carlos
Mon Nov 19, 2018 2:46 pm
Forum: Newbie questions
Topic: MoveFile problem
Replies: 13
Views: 1392

Re: MoveFile problem

Thank you Clyde, now I have idea of structure of this instruction, the problem was in that the string with the destination path and the name of file hadn't the / the routine is destinationstring/namefile the important is add the /. Now I'm working with the move callback, because not move a file with...
by Juan Carlos
Sun Nov 18, 2018 6:29 pm
Forum: Newbie questions
Topic: MoveFile problem
Replies: 13
Views: 1392

Re: MoveFile problem

That function is the same the copyfile and it wirks fine.
by Juan Carlos
Sun Nov 18, 2018 6:19 pm
Forum: Newbie questions
Topic: MoveFile problem
Replies: 13
Views: 1392

Re: MoveFile problem

Ok, two things: 1. The callback function (p_MonitorizarMover) is just called, when you move a file from one partition to another. It is not called if you move the file within a partition (if I understood it correctly). 2. Let's say you want to move the file "hello.txt" to the folder "my_documents"....
by Juan Carlos
Sun Nov 18, 2018 12:44 pm
Forum: Newbie questions
Topic: MoveFile problem
Replies: 13
Views: 1392

Re: MoveFile problem

Here is the code: /**** FUNCIÓN MOVER GRÁFICO ****/ Function p_MoverGrafico() FicheroCopiar$=FileCopy$ ;Here is FileCopy$=LaRuta$..Grafico$ from LaRuta$=PathPart(Imagen$) and Grafico$=FilePart(Imagen$) ;The image with its path DestinoCarpeta$=PathRequest("Where you want to move the picture") If(De...
by Juan Carlos
Sat Nov 17, 2018 9:59 am
Forum: Newbie questions
Topic: MoveFile problem
Replies: 13
Views: 1392

Re: MoveFile problem

and the second is the destiny only with the directory Yes, and that is the problem. As Clyde said, the destination mustn't be anything that already exists. If you pass a directory name, then this obviously exists so make sure you append the filename to that directory and it will work. The problem i...
by Juan Carlos
Thu Nov 15, 2018 10:16 am
Forum: Newbie questions
Topic: MoveFile problem
Replies: 13
Views: 1392

Re: MoveFile problem

The two hello strings I give the source with file and directory and the second is the destiny only with the directory. It hasn't problem or the instruction doesn't work with strings with paths.
by Juan Carlos
Tue Nov 13, 2018 6:26 pm
Forum: Newbie questions
Topic: MoveFile problem
Replies: 13
Views: 1392

Re: MoveFile problem

MoveFile(FicheroCopiar$, DestinoCarpeta$, p_MonitorizarMover) Where FicheroCopiar$ is the string with the file and path of source, DestinoCarpeta$ the destiny path and callback function to move the file. The message: Wrong usage/parameters for this command! The routine is the same than copy and this...
by Juan Carlos
Tue Nov 13, 2018 7:17 am
Forum: Newbie questions
Topic: MoveFile problem
Replies: 13
Views: 1392

MoveFile problem

I tried to use this new function using as base the copy routines even with callback function but it gives me problem with erro/wrong use the parameters, someone test this?
by Juan Carlos
Thu Nov 08, 2018 3:58 pm
Forum: Newbie questions
Topic: Windows console
Replies: 3
Views: 544

Windows console

What is the purpose of creating Windows console programs?
Because it is MS-DOS programs of 32 and 64 bits, but nobody use this, and the linker plugins folders are the same than Windows normal version. Maybe for next Hollywood version this option to make executables for ms-dos will can remove.
by Juan Carlos
Tue Nov 06, 2018 11:51 am
Forum: Polybios
Topic: Opening password protected files
Replies: 6
Views: 1138

Re: Opening password protected files

airsoftsoftwair wrote:
Fri Oct 26, 2018 10:57 pm
Works on Windows so it could be an endian issue if it fails on all PPC systems but works on x86... I'll try to fix it for the next version.
Neither it works for 68k, only in Windows.