Search found 712 matches

by sec
Tue Oct 17, 2023 2:49 pm
Forum: Coding Questions
Topic: how do you store file bigger 100MB with IncludeBinary ?
Replies: 8
Views: 771

Re: how do you store file bigger 100MB with IncludeBinary ?

great. thank you much. If I include them one after another, without label between, do I get the whole file again? Yep: OpenWindow(0,400,200,0,0,"test",#PB_Window_SystemMenu) i=CatchImage(0,?image_start,?image_end-?image_start) ImageGadget(0,0,0,0,0,ImageID(0)) ResizeWindow(0,#PB_Ignore,#PB...
by sec
Tue Oct 17, 2023 7:21 am
Forum: Coding Questions
Topic: how do you store file bigger 100MB with IncludeBinary ?
Replies: 8
Views: 771

how do you store file bigger 100MB with IncludeBinary ?

how do you store file bigger 100MB with IncludeBinary ? or how break that limit 10MB of example:

Code: Select all

 DataSection
    myinstaller:
    IncludeBinary "C:\myinstaller.zip"
    
 EndDataSection 
 
by sec
Tue Oct 17, 2023 12:35 am
Forum: Coding Questions
Topic: Have you the way to Refresh PATH in OpenConsole() ?
Replies: 2
Views: 204

Re: Have you the way to Refresh PATH in OpenConsole() ?

Thanks,

Your the code does work well! You always have good solutions 8)

Thanks much :oops: .
by sec
Mon Oct 16, 2023 7:56 am
Forum: Coding Questions
Topic: Have you the way to Refresh PATH in OpenConsole() ?
Replies: 2
Views: 204

Have you the way to Refresh PATH in OpenConsole() ?

Have you the way to Refresh PATH in OpenConsole() ? example: OpenConsole() Debug GetEnvironmentVariable("PATH") RunProgram("powershell.exe", "$env:PATH += "+#DQUOTE$+";SomeRandomPath"+#DQUOTE$+"", "", #PB_Program_Wait) Debug GetEnvironmentV...
by sec
Thu Apr 21, 2022 10:35 am
Forum: Coding Questions
Topic: Get a string back from another program
Replies: 7
Views: 711

Re: Get a string back from another program

Thanks, Barry, always a helping hand, you! I am now looking into Netmaestro's way, though the idea to exchange that using an environment variable seems the most elegant and easiest way to get this simple job done. I surely do not wish to academically blow it up with network,udp or even bigger. THAN...
by sec
Wed Apr 20, 2022 12:09 am
Forum: Coding Questions
Topic: What purpose of Pattern$ in DeleteDirectory()?
Replies: 5
Views: 595

Re: What purpose of Pattern$ in DeleteDirectory()?

Thanks RASHAD and BarryG.
by sec
Tue Apr 19, 2022 10:08 am
Forum: Coding Questions
Topic: What purpose of Pattern$ in DeleteDirectory()?
Replies: 5
Views: 595

Re: What purpose of Pattern$ in DeleteDirectory()?

If the directory is empty after deleting the matching files, then the directory also gets deleted (as expected). Add another file in there that doesn't match the pattern, and only the pattern-matched files will be deleted. thanks, my mistake usage then. any trick to delete all files w/o delete dir?
by sec
Tue Apr 19, 2022 3:19 am
Forum: Coding Questions
Topic: What purpose of Pattern$ in DeleteDirectory()?
Replies: 5
Views: 595

What purpose of Pattern$ in DeleteDirectory()?

hi DeleteDirectory() Syntax Result = DeleteDirectory(Directory$, Pattern$ [, Mode]) Pattern$ A pattern for deleting files within the directory. For example: "*.*" will delete any files in the directory. "*.exe" will delete only the .exe files. By default, a null Pattern$ ("&...
by sec
Sun Feb 06, 2022 8:52 am
Forum: Tricks 'n' Tips
Topic: PureTelegram (framework for using the Telegram API)
Replies: 88
Views: 23080

Re: PureTelegram (framework for using the Telegram API)

Nice one!

I have some questions:
- has it support proxy (http, or socks) connection?
- is it multi OS?

Thanks.
by sec
Tue Oct 05, 2021 4:15 am
Forum: Coding Questions
Topic: Strange behavior of Base64 or something else?
Replies: 7
Views: 1570

Re: Strange behavior of Base64 or something else?

Yeah, just be careful with Base64 and buffers and strings. There are a lot of "lengths" involved, careful not to mix them up. example: "maria" is 5 chars (6 if you include null terminator) in Unicode that is 10 bytes (or 12) to encode 10 or 12 bytes requires 16 Base64 characters...
by sec
Fri Oct 01, 2021 3:11 pm
Forum: Announcement
Topic: PureBasic 6.00 released !
Replies: 626
Views: 150128

Re: PureBasic 6.00 Alpha 5 released !

useful wrote: Fri Oct 01, 2021 10:03 am Sorry for the off-topic, I couldn't resist :D
ASUS has a special edition for PureBasic 6.0
https://www.asus.com/Displays-Desktops/ ... i-PC-PB60/
Looks nice. Have it one fan inside?
by sec
Thu Sep 09, 2021 9:12 am
Forum: Announcement
Topic: PureBasic 6.00 released !
Replies: 626
Views: 150128

Re: PureBasic 6.00 Alpha 4 released !

How can i compile without those debug string info ?
Image
by sec
Tue Dec 22, 2020 10:49 am
Forum: Coding Questions
Topic: Have you example using liburl with scp:// ?
Replies: 4
Views: 1172

Re: Have you example using liburl with scp:// ?

Its works! Thank you :mrgreen: I have 7 ICs , only 2 active IC :twisted: You have so a high level, according to your ICs (or what else they should represent) on the left, that I thought you are a master and you will know where you can get these files. :wink: If you are not such a master, then you ca...
by sec
Tue Dec 22, 2020 12:14 am
Forum: Coding Questions
Topic: Have you example using liburl with scp:// ?
Replies: 4
Views: 1172

Re: Have you example using liburl with scp:// ?

Greatly appreciate your help. Where to get those files?: #LibCurl_DLL$ = "libcurl.dll" IncludeFile "libcurl.pbi" And has the way to set timeout or which its default timeout? In fact, i used pscp and one thread with timeout to kill 'pscp process' that be hanged.. that is not alway...