Search found 1144 matches

by Bisonte
Wed Mar 15, 2023 5:46 pm
Forum: Coding Questions
Topic: Use Sqlite . commands in pb?
Replies: 10
Views: 592

Re: Use Sqlite . commands in pb?

I think he means something like this : https://www.sqlitetutorial.net/sqlite-dump/

but "inside" PureBasic....
by Bisonte
Tue Mar 14, 2023 7:41 am
Forum: Tricks 'n' Tips
Topic: Getting MP3 file duration using VBS
Replies: 29
Views: 1559

Re: Getting MP3 file duration using VBS

Do you have looked at : viewtopic.php?t=81046 ?
by Bisonte
Tue Mar 14, 2023 7:40 am
Forum: Tricks 'n' Tips
Topic: WIN/MAC - [MODULE] MP3-Info
Replies: 11
Views: 805

Re: [MODULE] MP3-Info

Celtic88 wrote some procedures that might help : viewtopic.php?p=506795#p506795
by Bisonte
Thu Mar 09, 2023 6:30 pm
Forum: Tricks 'n' Tips
Topic: WIN/MAC - [MODULE] MP3-Info
Replies: 11
Views: 805

WIN/MAC - [MODULE] MP3-Info

Hi there.... jak64 ask for a way to get the duration of a mp3 file... and it is more than just read a value ... So I dig in my sources and .... voila. This module based on " MP3 Header auslesen " from the german forum (Thorsten1867) This module get a lot of infos about a mp3 file. Also the...
by Bisonte
Thu Mar 09, 2023 6:11 pm
Forum: Coding Questions
Topic: Recover duration mp3 file
Replies: 19
Views: 667

Re: Recover duration mp3 file

Unfortunately, determining the duration of an MP3 file requires a bit more than just reading a value and converting it into seconds / minutes. Framesize, framecount, bitrate, sample rate and so on are also needed to calculate the time.... there are various formulas how it has to look like. and it wi...
by Bisonte
Wed Mar 01, 2023 4:36 pm
Forum: Coding Questions
Topic: is it possible to get the uint32_t of an image?
Replies: 6
Views: 311

Re: is it possible to get the uint32_t of an image?

They mean the ImageID

you get it if you using :

Code: Select all

hImage = ImageID(Image)
this is the os handle from this image.

Edit:

Uuups.... its not PB.... Moment look at the "CreateRenderImage" Command in AGK.... there is decribed what they mean with "ImageID"
by Bisonte
Mon Feb 27, 2023 11:05 pm
Forum: Applications - Feedback and Discussion
Topic: Balloons (game)
Replies: 4
Views: 699

Re: Balloons (game)

Missing file in Source Directory : "ForBalloons.pb" ?
by Bisonte
Tue Feb 21, 2023 5:22 pm
Forum: Coding Questions
Topic: Intel vs AMD
Replies: 5
Views: 424

Re: Intel vs AMD

At least the only difference is: ALL of my computers use INTEL CPU's but his an AMD CPU. What is unfortunately always forgotten. EVERY computer is an individual. A single click can change a system. Even if the hardware is identical, the operating system is never the same (except for the version). A...
by Bisonte
Sat Dec 17, 2022 11:22 am
Forum: Applications - Feedback and Discussion
Topic: Shift calendar
Replies: 11
Views: 1648

Re: Shift calendar

I heard a request from many people to post it on github, but I could not understand the reason. Maybe to compare versions (?), to recognize authorship due to the first publication (?) The reason for github : So that you can see in advance what it is and what the program might do. :!: Without an ico...
by Bisonte
Wed Dec 07, 2022 8:16 am
Forum: Tricks 'n' Tips
Topic: Mouse with Mouse Pointer Coordinates
Replies: 2
Views: 521

Re: Mouse with Mouse Pointer Coordinates

Are you all like this? Don't you read the posts? Are you all so agressive? This was not an attack, just a serious question .... to understand this kind of tip or trick, a running example is needed. My personal opinion is that querying variables is one of the absolute basics of a programming languag...
by Bisonte
Fri Nov 25, 2022 8:15 am
Forum: Coding Questions
Topic: Example Application Code
Replies: 14
Views: 1205

Re: Example Application Code

Hello everyone, and thanks for all the information. Regarding database connections. I am doing it like this. Database connection is opened and set as a Global Connection. I leave it open and run queries etc in procedures referencing the database connection. Only at the end, when I capture the event...
by Bisonte
Fri Oct 21, 2022 10:13 pm
Forum: Tricks 'n' Tips
Topic: Discord.pbi (only webhooks)
Replies: 10
Views: 4424

Re: Discord.pbi (only webhooks)

@HeX0r: I know... that's why this is the version I saved .... ;/---------------------------\ ;| Discord Webhook Code Base | ;| | ;| Date: 10.21.2022 | ;| | ;| PureBasic 6.00 | ;\---------------------------/ DeclareModule Discord #API_ENDPOINT = "https://discord.com/api/v10" ; https://disco...
by Bisonte
Fri Oct 21, 2022 7:06 am
Forum: Tricks 'n' Tips
Topic: Discord.pbi (only webhooks)
Replies: 10
Views: 4424

Re: Discord.pbi (only webhooks)

Image.... that comes in very handy ;)
by Bisonte
Tue Oct 04, 2022 7:47 am
Forum: Coding Questions
Topic: Choosing variable types for a financial application
Replies: 9
Views: 676

Re: Choosing variable types for a financial application

to handle money values i used quads to avoid rounding problems.
So I don`t use values like : 12,56 , I use 1256.

And I thought, that the total money value of one person is "floating" a quad variable ;)
by Bisonte
Fri Sep 30, 2022 6:00 am
Forum: Coding Questions
Topic: Is there a way to send files via "send to"?
Replies: 6
Views: 497

Re: Is there a way to send files via "send to"?

Here is a simple way, to start on Windows the standard email Client with some parameters : EmailAdress.s = "user@example.com" Subject.s = "Message Title" Body.s = "Message Content" RunProgram("mailto:" + EmailAdress + "?subject=" + Subject + "&a...