Search found 342 matches

by Fig
Sat Jun 05, 2021 11:03 pm
Forum: Coding Questions
Topic: [Resolved] Enlarge image without distorting it
Replies: 14
Views: 574

Re: Enlarge image without distorting it

If you want to decode a QRCode from a picture (scan, photo...), I suggest you use ZBAR in command line for that purpose...
by Fig
Thu Apr 29, 2021 5:19 pm
Forum: Coding Questions
Topic: my new robot BASIC COMPILER keyboard problem ...
Replies: 4
Views: 363

Re: my new robot BASIC COMPILER keyboard problem ...

It may help you https://www.purebasic.fr/french/viewtop ... er#p194979
You can use a keyboardhook cf Zorro post.
by Fig
Fri Apr 09, 2021 7:39 pm
Forum: Game Programming
Topic: Raycasting engine help
Replies: 5
Views: 761

Re: Raycasting engine help

First video: (2d raycasting)
https://www.youtube.com/watch?v=TOEi6T2mtHo
second one: (3d raycasting following the previous video)
https://www.youtube.com/watch?v=vYgIKn7iDH8

He is very easy to understand and it's very easy to convert in Pb.
I like this channel.
by Fig
Sun Mar 21, 2021 8:37 am
Forum: Coding Questions
Topic: Resize Windows and make scrollbar appear ? [Solved]
Replies: 3
Views: 480

Re: Resize Windows and make scrollbar appear ?

Rashad, you basically answered. I struggle all the time explaining my problem in english, my apologies... :oops:

Exactly what I was looking for Danilo, thank you !
by Fig
Sat Mar 20, 2021 8:24 pm
Forum: Coding Questions
Topic: Resize Windows and make scrollbar appear ? [Solved]
Replies: 3
Views: 480

Resize Windows and make scrollbar appear ? [Solved]

Hi, I would like to make scroll bars from scrollareagadget() appear when I make the window smaller. (manual resizing) How do I get this effect ? If OpenWindow(0, 0, 0, 1920, 1080, "test", #PB_Window_Maximize | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_BorderLess | ...
by Fig
Thu Feb 18, 2021 7:20 pm
Forum: Coding Questions
Topic: App executed from network on multiple computers
Replies: 2
Views: 674

App executed from network on multiple computers

Hi, I have many questions... My app (executable) run on mutliple computers from a local network. It actually access a database. 1/How can I update the current program ? I need to erase it to change it. Should I poll every x minute a specific table in data to close each program if needed ? ie When I ...
by Fig
Mon Feb 15, 2021 9:06 pm
Forum: Game Programming
Topic: Conway's game of life in music
Replies: 2
Views: 2600

Re: Conway's game of life in music

Here is the code... I lost the music's sample and padlock sprite I am sorry. :cry: https://i58.servimg.com/u/f58/18/23/59/70/conway10.jpg Sx.i=800:Sy.i=600 If InitSound()=0 Or InitSprite() = 0 Or InitKeyboard() = 0 Or InitMouse() = 0 Or OpenWindow(0, 0, 0, Sx,Sy, "Conway's music right Clic to n...
by Fig
Thu Jan 21, 2021 7:31 pm
Forum: Coding Questions
Topic: InputRequester() 2 lines text ?
Replies: 9
Views: 758

Re: InputRequester() 2 lines text ?

Thank you all for your answers !
It's always a pleasure to see how nice you are.

It really helped me out. :idea:
by Fig
Sun Jan 17, 2021 6:35 pm
Forum: Coding Questions
Topic: InputRequester() 2 lines text ?
Replies: 9
Views: 758

InputRequester() 2 lines text ?

Is there a trick to make InputRequester() display 2 lines of text ?

Code: Select all

InputRequester("test","THIS IS A LONG TEXT."+Chr(10)+"IS THERE ANY WAY YOU CAN SEE IT IN FULL ???","")
by Fig
Thu Dec 03, 2020 5:59 pm
Forum: Coding Questions
Topic: Sqlite using LIKE % with SetDatabaseString
Replies: 4
Views: 710

Re: Sqlite using LIKE % with SetDatabaseString

Nice tips !

Thank you all, it's clearer for me now ! :D
by Fig
Wed Dec 02, 2020 9:32 pm
Forum: Coding Questions
Topic: Sqlite using LIKE % with SetDatabaseString
Replies: 4
Views: 710

Sqlite using LIKE % with SetDatabaseString

Hi, I would like to use the LIKE %? with SetDatabaseString() Is it possible ? UseSQLiteDatabase() Procedure CheckDatabaseUpdate(Database, Query$) Result = DatabaseUpdate(Database, Query$) If Result = 0 Debug DatabaseError() EndIf ProcedureReturn Result EndProcedure DatabaseFile$ = GetTemporaryDirect...
by Fig
Mon Nov 30, 2020 6:33 pm
Forum: Announcement
Topic: PureBasic 5.73 LTS is available
Replies: 103
Views: 30645

Re: PureBasic 5.73 LTS is available

Thank you so much for tabs instead of spaces !! :D
by Fig
Wed Nov 11, 2020 3:30 pm
Forum: Coding Questions
Topic: SendMail()
Replies: 8
Views: 1342

Re: SendMail()

5) Does your firm use desktop firewall, anti-virus or other security software? If so, does it whitelist software? It's possible to configure firewalls, for example, to disallow access to the SMTP ports for applications that aren't standard. For example outlook.exe could be whitelisted and others wo...
by Fig
Wed Nov 11, 2020 5:51 am
Forum: Coding Questions
Topic: SendMail()
Replies: 8
Views: 1342

Re: SendMail()

thank you all for your answers... Olliver, I followed your advise and use string variable instead or direct string. I tried with #PB_Mail_UseSSL without anysuccess. FIrst thing first: Could someone confirm me the IP instead of the "smtp" is a proper way to go ? If so, the mail server proba...
by Fig
Mon Nov 09, 2020 6:22 pm
Forum: Coding Questions
Topic: SendMail()
Replies: 8
Views: 1342

SendMail()

I would like to use SendMail() from my firm network. I got the ip mail serveur adress of my firm, port, a genuine email adress from my company and its password. Is it the good way to use it ? Because It doesn't go through... :cry: Do you have any clue or do I need any other information ? (I have a d...