Search found 307 matches

by Derren
Mon May 27, 2024 5:14 pm
Forum: Coding Questions
Topic: Why doesn't $FF0000 show as Red ?
Replies: 5
Views: 849

Re: Why doesn't $FF0000 show as Red ?

In PB it's not RRGGBB but BBGGRR
Red is $0000FF

There is some technical explanation, I'm sure it's even mentioned in the documentation somewhere.
But it's easier to just accept that it's different than any other software and move on, if you're not familiar with how Computers store numbers.
by Derren
Mon May 27, 2024 2:37 pm
Forum: Game Programming
Topic: Lib Screen (Sprite) (PB 6.10)
Replies: 63
Views: 36911

Re: Lib Screen (Sprite) (PB 6.10)

Amazingly it works :D Looks stunning, especially the first one with the light and also the water/cloud one.

What doesnt't seem to work is the shader editor.
It says "F5 to run" and I can pick several codes from the selector, but they don't change anything.

PS: can we only have one light?
I tried ...
by Derren
Fri May 17, 2024 11:51 am
Forum: Coding Questions
Topic: [solved] How to read changed html code inside 'div contenteditable'
Replies: 15
Views: 3295

Re: [solved] How to read changed html code inside 'div contenteditable'


@dige
No, you have a problem with html :wink:

ö is:
ö
in html


This shouldn't be an issue. It's not 2001 anymore. But the webpage should have the proper encoding tags.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"> <!-- THIS -->
</head>
<body>
</body>
</html ...
by Derren
Thu Nov 02, 2023 2:09 pm
Forum: Coding Questions
Topic: Drag&Drop from Outlook (Express) - Possible?
Replies: 93
Views: 38222

Re: Drag&Drop from Outlook (Express) - Possible?

Aaah guys,
first of all thanks for all the effort you already put it.I would have thought it was easier to accomplish.

Sadly it doesn't work (now).

Both codes, Hexor's "re-write" and this code here produce a file that is corrupted and can't be opened by outlook.
The saved .msg file only contains ...
by Derren
Fri Mar 03, 2023 9:38 am
Forum: Coding Questions
Topic: Dragging window blocks timer (more than you think)
Replies: 13
Views: 2168

Re: Dragging window blocks timer (more than you think)

Thanks guys, exactly what I needed right now.
I have a sort of clock display (rounded window without title) that needs dragging around with the mouse and the clock stopped during the dragging.

I know about BindEvent() but if Ihaven't done some programming for a while (in PB anyway) I start with the ...
by Derren
Wed Jul 06, 2022 2:49 pm
Forum: General Discussion
Topic: Webview2 control - Chromium browser for Purebasic (Windows) [Jan 1, 2024]
Replies: 181
Views: 86583

Re: Webview2 control - Chromium browser for Purebasic (Windows)

Yay, I can finally use it.

One questions. Is there a way to change (catch) the error message for a missing DLL? And to possibly rename the DLL (if the license permits this)?
I couldn't find the call for the DLL in the code, perhaps it's hidden in some lib file or other.

Since the DLL is necessary ...
by Derren
Thu Feb 10, 2022 3:51 pm
Forum: Windows
Topic: New UserLib : NotifyIcon library
Replies: 19
Views: 10584

Re: New UserLib : NotifyIcon library

Here is a code that "runs" (doesn't produce any syntax errors that come from the code being old).
But it doesn't do anything.

I have an VBA example that uses Shell_NotifyIcon() to display a notification popup, so this function still works in Windows 10.
I just cant get it to run in PB (can't even ...
by Derren
Tue Oct 05, 2021 7:39 am
Forum: Tricks 'n' Tips
Topic: Alternate Console
Replies: 20
Views: 18829

Re: Alternate Console

it's okay.
I am currently using a console to display some status messages and I would have liked to add the ability to hide the console like a window and unhide it via systray or something. It's not possible to hide a console with PB commands and the APIs I found don't really work either. I think ...
by Derren
Tue Oct 05, 2021 7:35 am
Forum: General Discussion
Topic: Webview2 control - Chromium browser for Purebasic (Windows) [Jan 1, 2024]
Replies: 181
Views: 86583

Re: Webview2 control - Chromium browser for Purebasic (Windows)

Hey,

this looks promising. Thanks for posting.

But now, over a year later, every machine (including mine) has Edge installed and the example codes still fail to run.
Does it still not work without the runtime or does the check in the code need an update?

---------------------------
Error ...
by Derren
Thu Sep 30, 2021 12:28 pm
Forum: Tricks 'n' Tips
Topic: Alternate Console
Replies: 20
Views: 18829

Re: Alternate Console

Hey,

I just wanted to test your code. Sadly you offer it only on your website for a payment. :(
by Derren
Wed Feb 03, 2021 3:33 pm
Forum: General Discussion
Topic: What's the cheapest mini Pc that can run PureBasic programs?
Replies: 18
Views: 4941

Re: What's the cheapest mini Pc that can run PureBasic progr

Do you need connectivity?

I bought a cheap windows tablet ages ago. "Odys Wintab 8". It was like 80 or maybe 100 bucks. Terribly slow and the display is super bad (angles), but it's a normal windows 8 PC running an x86 Intel Chip. PB and any normal PB program runs fine (hardware permitting). It had ...
by Derren
Mon Sep 28, 2020 10:58 am
Forum: Off Topic
Topic: Sciter.JS KickStarter
Replies: 5
Views: 2723

Re: Sciter.JS KickStarter

wouldn't any of the mentioned companies benefit from an open source version of the software they use?
not sure why a software that seems to be so commercially successful needs kickstarter money from "mere mortals"
by Derren
Tue Sep 22, 2020 3:13 pm
Forum: Tricks 'n' Tips
Topic: Module ActiveScript for VBScript and JScript with PB-Runtime Variables
Replies: 55
Views: 33106

Re: Module ActiveScript for VB-Script with PB-Runtime Variab

Thanks. Found the solution of installing drivers on another thread and also in many threads in other forums, but that's no an option on the machines I want to run this software, unfortunately.
by Derren
Tue Sep 22, 2020 2:03 pm
Forum: Tricks 'n' Tips
Topic: Module ActiveScript for VBScript and JScript with PB-Runtime Variables
Replies: 55
Views: 33106

Re: Module ActiveScript for VB-Script with PB-Runtime Variab

Hi mk-soft,

is there any way I can use the 32bit version of the scripting host?

I'm trying the following VBS code, that I found online, to access a Microsoft Access accdb file.
Set conn = CreateObject("ADODB.Connection")
' Connect to the database
strConnect = "Provider=Microsoft.ACE.OLEDB.12.0 ...