Hi Baker,
could you please share the whole source code?
Some thing are missing especially saving the settings, dealing with the DPI, perhaps 2 different screens etc.
Search found 68 matches
- Thu Nov 20, 2025 4:59 pm
- Forum: Applications - Feedback and Discussion
- Topic: My First Screen Saver
- Replies: 52
- Views: 26631
- Sat Sep 06, 2025 8:08 pm
- Forum: General Discussion
- Topic: Is PureBasic dead?
- Replies: 26
- Views: 6647
Re: Is PureBasic dead?
Thread looks like spam anyway :-)
No, just from someone who has been using PB for 15 years, loves it, and thinks seriously about it.
Practically you have point two questions
1) purebasic is not "running" inside a browser, excludict the fact that the nature of the language is bytecompiled like ...
No, just from someone who has been using PB for 15 years, loves it, and thinks seriously about it.
Practically you have point two questions
1) purebasic is not "running" inside a browser, excludict the fact that the nature of the language is bytecompiled like ...
- Fri Aug 29, 2025 2:28 pm
- Forum: General Discussion
- Topic: Is PureBasic dead?
- Replies: 26
- Views: 6647
Is PureBasic dead?
Hello everybody,
a question I keep asking myself: is PureBasic ‘dead’?
No, I am not a ‘hater’ and I really like PB.
But if you look at the current development of software, most of it runs in a) the browser and b) has AI connected somehow.
PB's image functions are cool, for example, but of course ...
a question I keep asking myself: is PureBasic ‘dead’?
No, I am not a ‘hater’ and I really like PB.
But if you look at the current development of software, most of it runs in a) the browser and b) has AI connected somehow.
PB's image functions are cool, for example, but of course ...
- Sun Jun 08, 2025 10:42 am
- Forum: Coding Questions
- Topic: [DONE]Sound output for externel Device
- Replies: 17
- Views: 3771
Re: [DONE]Sound output for externel Device
Test the last code here and got this:

Of course the .wav file is 48 kHz...
Any ideas what's wrong? Do i have to select the output device first somewhere?
Of course the .wav file is 48 kHz...
Any ideas what's wrong? Do i have to select the output device first somewhere?
- Thu Jun 05, 2025 9:09 pm
- Forum: Coding Questions
- Topic: Animated cartoon movie with PB?
- Replies: 6
- Views: 749
Animated cartoon movie with PB?
I'm planning to make short animated films, for example, The Simpsons or South Park.
There are, of course, various video tools for this, like After Effects, etc., but I enjoy programming and would rather try it in PB and simply record the final result using a screen recorder.
The characters are ...
There are, of course, various video tools for this, like After Effects, etc., but I enjoy programming and would rather try it in PB and simply record the final result using a screen recorder.
The characters are ...
- Tue Mar 05, 2024 8:16 pm
- Forum: Coding Questions
- Topic: KeyboardPushed() without 2D (Sendkeys?)
- Replies: 2
- Views: 483
KeyboardPushed() without 2D (Sendkeys?)
Hi,
i just wondern why such a function like KeyboardPushed() is only available in 2D and there is no native function...
I need this function but without using 2D-OpenScreen etc.
Found this one somewhere here:
Global HHOOK
Procedure SendKey(KeySwap.s)
SwapData.INPUT
SwapData\type = #INPUT ...
i just wondern why such a function like KeyboardPushed() is only available in 2D and there is no native function...
I need this function but without using 2D-OpenScreen etc.
Found this one somewhere here:
Global HHOOK
Procedure SendKey(KeySwap.s)
SwapData.INPUT
SwapData\type = #INPUT ...
- Sat Jan 22, 2022 7:24 pm
- Forum: Coding Questions
- Topic: Wanted: working FMOD example
- Replies: 6
- Views: 1572
Re: Wanted: working FMOD example
Hi Cyllceaux,
i've managed to add a Trackbargadget showing the actual position and which is able to jump to a specific position.
Some further questions:
1) I saw the spectrum.pb example, is there also a basic function to show the AMPLITUDE of left/right? Just a single bar, not like an equalizer ...
i've managed to add a Trackbargadget showing the actual position and which is able to jump to a specific position.
Some further questions:
1) I saw the spectrum.pb example, is there also a basic function to show the AMPLITUDE of left/right? Just a single bar, not like an equalizer ...
- Sun Jan 09, 2022 4:03 pm
- Forum: Coding Questions
- Topic: Wanted: working FMOD example
- Replies: 6
- Views: 1572
Re: Wanted: working FMOD example
Is this something you are looking for?
I'm far away from using this :D I'm (amateur) just trying to use/understand the basic functions...
I like the MP3 player example and would like to add a simple "position" feature:
- trackbar showing 00:00 -> actual position (of playing track) e.g. 01:40 ...
I'm far away from using this :D I'm (amateur) just trying to use/understand the basic functions...
I like the MP3 player example and would like to add a simple "position" feature:
- trackbar showing 00:00 -> actual position (of playing track) e.g. 01:40 ...
- Sun Jan 09, 2022 3:05 pm
- Forum: Coding Questions
- Topic: Wanted: working FMOD example
- Replies: 6
- Views: 1572
Re: Wanted: working FMOD example
Many thanks! That's a good basic example!
Any idea how to add these functions to the example?
Prototype.l FMOD_Channel_GetPosition_Prototype (channel.l, *Position, Postype.l)
Global FMOD_Channel_GetPosition.FMOD_Channel_GetPosition_Prototype = GetFunction(fmodLib, "FMOD_Channel_GetPosition ...
Any idea how to add these functions to the example?
Prototype.l FMOD_Channel_GetPosition_Prototype (channel.l, *Position, Postype.l)
Global FMOD_Channel_GetPosition.FMOD_Channel_GetPosition_Prototype = GetFunction(fmodLib, "FMOD_Channel_GetPosition ...
- Mon Jan 03, 2022 7:25 pm
- Forum: Coding Questions
- Topic: Wanted: working FMOD example
- Replies: 6
- Views: 1572
Wanted: working FMOD example
Hi,
i'm looking for a simple working FMOD example in the latest PB version.
Is it also possible to include the .dll inside the exe? Or how to deliver it to the user? IncludeBinary and put it into the Home folder or something?
Many thanks!
i'm looking for a simple working FMOD example in the latest PB version.
Is it also possible to include the .dll inside the exe? Or how to deliver it to the user? IncludeBinary and put it into the Home folder or something?
Many thanks!
- Mon Nov 02, 2020 9:50 pm
- Forum: Coding Questions
- Topic: Painting a triangle with GDI
- Replies: 4
- Views: 1322
Painting a triangle with GDI
Hi,
i found this code on the board but it doesn't work anymore (no error, no result on the screen):
Procedure Triangle(hdc,x1.l, y1.l, x2.l, y2.l, x3.l, y3.l)
ProcedureReturn Polygon_(hdc, @x1, 3)
EndProcedure
OpenWindow(0, 0, 0, 320, 240, "Triangle", #PB_Window_MinimizeGadget|#PB_Window ...
i found this code on the board but it doesn't work anymore (no error, no result on the screen):
Procedure Triangle(hdc,x1.l, y1.l, x2.l, y2.l, x3.l, y3.l)
ProcedureReturn Polygon_(hdc, @x1, 3)
EndProcedure
OpenWindow(0, 0, 0, 320, 240, "Triangle", #PB_Window_MinimizeGadget|#PB_Window ...
- Sat Jul 14, 2018 9:15 am
- Forum: Coding Questions
- Topic: How to send Html-Emails with PB?
- Replies: 6
- Views: 4617
Re: How to send Html-Emails with PB?
Is there no way to send a HTML mail with the existing PB functions?
Thought SetMailAttribute() can do this?
Thought SetMailAttribute() can do this?
- Sat Nov 08, 2014 3:09 pm
- Forum: Coding Questions
- Topic: Updating PB-SoundEditor to 5.30? :-(
- Replies: 0
- Views: 1674
Updating PB-SoundEditor to 5.30? :-(
Hi,
is there anyone who has updated the "PB-SoundEditor" to 5.30 or above?
http://www.freesoundeditor.com/DownloadSrceseng.htm
Download (exe + srouce): http://www.freesoundeditor.com/downloads/sources/soundeditor.zip
Project info (french): http://www.purebasic.fr/french/viewtopic.php?f=8&t=1220 ...
is there anyone who has updated the "PB-SoundEditor" to 5.30 or above?
http://www.freesoundeditor.com/DownloadSrceseng.htm
Download (exe + srouce): http://www.freesoundeditor.com/downloads/sources/soundeditor.zip
Project info (french): http://www.purebasic.fr/french/viewtopic.php?f=8&t=1220 ...
- Mon Sep 15, 2014 4:42 pm
- Forum: Tricks 'n' Tips
- Topic: AnimateSprite (ALL OS) - AnimateSprite3D (Windows only)
- Replies: 14
- Views: 12114
Re: AnimateSprite (ALL OS) - AnimateSprite3D (Windows only)
Any new update for PB5?
- Fri Jul 11, 2014 2:20 am
- Forum: Coding Questions
- Topic: Mix 2 WAVE files together and delay one of them
- Replies: 0
- Views: 813
Mix 2 WAVE files together and delay one of them
Hi,
the following procedure mixes 2 wave sounds together and returns the "new" sound:
Structure WaveFile
chunkID .s{4}
chunkSize.l
riffType.s{4}
FormatHeader.s{4}
FormatLength.l
wFormatTag.w
wChannels.w
dwSamplesPerSec.l
dwAvgBytesPerSec.l
wBlockAlign.w
wBitsPerSample.w
DataHeader.s{4 ...
the following procedure mixes 2 wave sounds together and returns the "new" sound:
Structure WaveFile
chunkID .s{4}
chunkSize.l
riffType.s{4}
FormatHeader.s{4}
FormatLength.l
wFormatTag.w
wChannels.w
dwSamplesPerSec.l
dwAvgBytesPerSec.l
wBlockAlign.w
wBitsPerSample.w
DataHeader.s{4 ...