Search found 57 matches

by arma
Sun Jun 16, 2024 1:33 pm
Forum: Coding Questions
Topic: peer 2 peer
Replies: 2
Views: 496

peer 2 peer

Hello everybody;

I want to write a software and i need to comminucate p2p connection inside such as skype, telegram, etc chat software. Possible to do this inside of Purebasic?
by arma
Thu Apr 18, 2024 6:02 pm
Forum: Coding Questions
Topic: ReceiveHTTP doesnt work on Windows 7. Any solution?
Replies: 14
Views: 2293

Re: ReceiveHTTP doesnt work on Windows 7. Any solution?

Thank you for your nice answers...
I found my own method. curl.exe. I call durl.exe and use this.
Thank you again.
by arma
Sat Apr 13, 2024 6:19 pm
Forum: Coding Questions
Topic: ReceiveHTTP doesnt work on Windows 7. Any solution?
Replies: 14
Views: 2293

Re: ReceiveHTTP doesnt work on Windows 7. Any solution?

Thank you for your kind answer... But that doesnt work either :(
I did find other way for windows 7. curl.exe. But i am still looking for other solution if possible.
by arma
Fri Apr 12, 2024 10:09 am
Forum: Coding Questions
Topic: ReceiveHTTP doesnt work on Windows 7. Any solution?
Replies: 14
Views: 2293

Re: ReceiveHTTP doesnt work on Windows 7. Any solution?

Thanks for your answer.
Yes i noticed. that before.. This code works with some server on Windows 7. But the same always work on Windows 10 or Linux etc.
I want to fix if possible on Windows 7 work as the others.
by arma
Thu Apr 11, 2024 9:52 pm
Forum: Coding Questions
Topic: ReceiveHTTP doesnt work on Windows 7. Any solution?
Replies: 14
Views: 2293

ReceiveHTTP doesnt work on Windows 7. Any solution?

Hello everybody;
I need help please.

This is the code below.

*Buffer = ReceiveHTTPMemory("https://www.armacomputer.com.tr/downloads/PRG/arma.SOFT/versions")
If *Buffer
Size = MemorySize(*Buffer)
Debug "Content: " + PeekS(*Buffer, Size, #PB_UTF8|#PB_ByteLength)
FreeMemory(*Buffer)
Else
Debug ...
by arma
Sun Feb 18, 2024 10:32 pm
Forum: The PureBasic Editor
Topic: PureBASIC help window problem (Crash) on Ubuntu 22.10 or later
Replies: 0
Views: 1949

PureBASIC help window problem (Crash) on Ubuntu 22.10 or later

Hello;

I have noticed Help window crash suddenly when you click some where suddenly very often. If i use Ubuntu 22.04 never have problem. But if i upgrade to 23.04, 23.10 or 24.04 this problem starts happen.
Also i noticed if i use old version of PureBasic this problem never happens even on Ubuntu ...
by arma
Fri Aug 06, 2021 10:12 pm
Forum: Coding Questions
Topic: Make Autorun selfprogram on Windows...
Replies: 8
Views: 3063

Re: Make Autorun selfprogram on Windows...

Thanks a LOT!
Solved...
Thank you again...
by arma
Fri Aug 06, 2021 9:50 pm
Forum: Coding Questions
Topic: Make Autorun selfprogram on Windows...
Replies: 8
Views: 3063

Re: Make Autorun selfprogram on Windows...

I did try :( still doesnt work :(
if i crate .bat file... And if i put the same code inside... Then double click the .bat file... it works fine on .bat file... But doesnt work on purebasic code :(
I couldnt find the problem :(
by arma
Fri Aug 06, 2021 9:22 pm
Forum: Coding Questions
Topic: Make Autorun selfprogram on Windows...
Replies: 8
Views: 3063

Re: Make Autorun selfprogram on Windows...

I found very easy way... It works on command prompt, but in the purebasic code :( It doesnt work :(
Anybody can find the problem on this code? :( Doesint work :(

a$="%allusersprofile%\Microsoft\Windows\"+Chr(34)+"Start Menu"+Chr(34)+"\Programs\StartUp\test.exe C:\Users\Purebasic\AppData\Local\Temp ...
by arma
Tue Jul 27, 2021 12:02 am
Forum: Coding Questions
Topic: Make Autorun selfprogram on Windows...
Replies: 8
Views: 3063

Make Autorun selfprogram on Windows...

Hello everybody;

I am looking purebasic code to make autorun application it self... After restart on Windows... Any body knows any sample?

Thanks a LOT!
by arma
Mon Dec 21, 2020 7:25 am
Forum: Coding Questions
Topic: ReceiveHTTPFile
Replies: 5
Views: 5511

Re: ReceiveHTTPFile

For me this is nothing useful... Some thing like bug... How can i detect if successfully download or not... and Why?
I solve my situation but this command works as stupid. I use wget now... It says error if there is no file to download. So i solve my problem. But in my oppinion this is wrong. If it ...
by arma
Mon Dec 21, 2020 12:13 am
Forum: Coding Questions
Topic: ReceiveHTTPFile
Replies: 5
Views: 5511

Re: ReceiveHTTPFile

Then what is the result meaning?
There is an help on document...

Example

InitNetwork()

Filename$ = SaveFileRequester("Where to save index.php ?", "", "", 0)

If ReceiveHTTPFile("http://www.purebasic.com/index.php", Filename$)
Debug "Success"
Else
Debug "Failed"
EndIf

It says always ...
by arma
Sun Dec 20, 2020 7:46 pm
Forum: Coding Questions
Topic: ReceiveHTTPFile
Replies: 5
Views: 5511

ReceiveHTTPFile

Is this normal? there is no file like that. But i recieve 1. Whatever i write there as file name... such as http://armasoft.net/... i always get result positive... How can i get normal result? I need true or false?

InitNetwork()
a=ReceiveHTTPFile("http://armasoft.net/xxx","/home/arma/TEST")
Debug a
by arma
Sat Aug 29, 2020 1:42 am
Forum: Coding Questions
Topic: FTP?
Replies: 13
Views: 3725

Re: FTP?

so? what is the solution? I use linux... the code is upside doesnt work for me...
by arma
Wed Aug 26, 2020 11:18 pm
Forum: Coding Questions
Topic: FTP?
Replies: 13
Views: 3725

Re: FTP?

So? If server is Microsofts? Cant get proper directory list? All the ftp software works fine... Maybe this is purebasic bug?