Search found 39 matches

by elfo116
Mon Jul 11, 2022 2:57 pm
Forum: Tricks 'n' Tips
Topic: libVLC in pb (Windows Only)
Replies: 29
Views: 17003

Re: libVLC in pb

Hello everyone, does anyone know how to change the playback speed of a video using libVLC?
by elfo116
Thu Mar 21, 2019 7:21 pm
Forum: Coding Questions
Topic: How to move or copy a file between directories that have spa
Replies: 18
Views: 4223

Re: How to move or copy a file between directories that have

Oh sorry, i I did not think that the RenameFile() function served to copy.
Sometimes you write about copying a file, and sometimes about moving a file. These are two different things.

Haha that's because I've tried all the ways I know to move / copy a file

I told you about both PB's built-in ...
by elfo116
Thu Mar 21, 2019 7:17 pm
Forum: Coding Questions
Topic: How to move or copy a file between directories that have spa
Replies: 18
Views: 4223

Re: How to move or copy a file between directories that have

MoveFile_(booti$,copiara$) no matter if you use RenameFile() or CopyFile() or whatever, but add Debug "|"+booti$+"|"
Debug "|"+copiara$+"|" before and see what you get. Also check if you have write permissions in the directories.

Hello, thanks for your reply. I get:
|C:\Users\PC 1\Desktop\TEMP ...
by elfo116
Thu Mar 21, 2019 6:43 pm
Forum: Coding Questions
Topic: How to move or copy a file between directories that have spa
Replies: 18
Views: 4223

Re: How to move or copy a file between directories that have

Why don't you use PB's built-in function RenameFile() for moving a file? Like CopyFile() , it works well also with path names that contain spaces.
If you want us to help you, then you should at least answer our questions ...

Oh sorry, i I did not think that the RenameFile() function served to ...
by elfo116
Thu Mar 21, 2019 6:28 pm
Forum: Coding Questions
Topic: How to move or copy a file between directories that have spa
Replies: 18
Views: 4223

Re: How to move or copy a file between directories that have


Debug MoveFile_(booti$,copiara$); <----- error copying
Why don't you use PB's built-in function RenameFile() for moving a file? Like CopyFile() , it works well also with path names that contain spaces.

When using the API function MoveFile_(), you probably have to enclose the path names in ...
by elfo116
Thu Mar 21, 2019 6:26 pm
Forum: Coding Questions
Topic: How to move or copy a file between directories that have spa
Replies: 18
Views: 4223

Re: How to move or copy a file between directories that have

Better if you provide working code :idea:
You can use RenameFile() instead of api movefile_().
When filenames have spaces, enclose them within double quotes, "c:\try\My long crazy filename.txt".

Hi !, like this?: RenameFile(Chr(34)+booti$+Chr(34),Chr(34)+copiara$+Chr(34)) dont work for me :(
by elfo116
Thu Mar 21, 2019 5:39 pm
Forum: Coding Questions
Topic: How to move or copy a file between directories that have spa
Replies: 18
Views: 4223

Re: How to move or copy a file between directories that have

Hi all ! i'm trying to copy a file from one directory like: C:\Users\PC 1\Desktop\ , but its impossible cause he have a space (PC""1), anyone can help me to solve this ?. Thanks
It depends on what you do in detail :!:
E.g. PB's built-in CopyFile() function does work well also with path names that ...
by elfo116
Thu Mar 21, 2019 4:17 pm
Forum: Coding Questions
Topic: How to move or copy a file between directories that have spa
Replies: 18
Views: 4223

How to move or copy a file between directories that have spa

Hi all ! i'm trying to copy a file from one directory like: C:\Users\PC 1\Desktop\ , but its impossible cause he have a space (PC""1), anyone can help me to solve this ?. Thanks
by elfo116
Sun Jun 13, 2010 3:00 pm
Forum: Coding Questions
Topic: Making a exe crypter (how to?)
Replies: 27
Views: 6584

Re: Making a exe crypter (how to?)

Hello datachild,

Some like this ?
;Exe 1 -> gui to select and cryp file

;Exe 2 -> program whit decrypt functions

;Exe 3 -> file to Crypt

Exe 1 include Exe 2 in Exe 3 and make new <crpyted.exe>

when launch crypted.exe -->{Exe2 decrypt and Execute exe3}

if exe3 is malicious code, when run ...
by elfo116
Thu Jun 10, 2010 7:15 pm
Forum: Coding Questions
Topic: Making a exe crypter (how to?)
Replies: 27
Views: 6584

Re: Making a exe crypter (how to?)

Now I have the solution, I created a library for use with PB, an example would be something like:



;<I use my personal library created in C # Lamer.zip>

If ReadFile (0, "mortalvirus.exe")
CreateFile (1, "ilammer.exe")
WriteData (Cryptlammer (ReadData (0, * lamerbuffer, Len (0)), KEY), Len (0 ...
by elfo116
Thu Jun 10, 2010 7:01 pm
Forum: Coding Questions
Topic: Making a exe crypter (how to?)
Replies: 27
Views: 6584

Re: Making a exe crypter (how to?)

I asked only one example and I named Lammer ... what kind of forum is this? : S

hahaha XD
by elfo116
Thu Jun 10, 2010 6:08 pm
Forum: Coding Questions
Topic: Making a exe crypter (how to?)
Replies: 27
Views: 6584

Re: Making a exe crypter (how to?)

if looking at a code sample is a Lammer ... Who would not ever looked at a sample codes integrated into the PureBasic editor?, Hehe.

Stop nonsense and give me and my example now! XD

Something tells me this does not end here ...
by elfo116
Thu Jun 10, 2010 4:39 pm
Forum: Coding Questions
Topic: Making a exe crypter (how to?)
Replies: 27
Views: 6584

Re: Making a exe crypter (how to?)

just look for an example (I see no crime in that), not a complete code, but people here do not have the capacity.

Unfortunately there is not much information on PureBasic in other forums or google ...
by elfo116
Thu Jun 10, 2010 2:08 pm
Forum: Coding Questions
Topic: Making a exe crypter (how to?)
Replies: 27
Views: 6584

Re: Making a exe crypter (how to?)

you can not help because you have no clue and so you say things like:)

Thanks anyway.