Hello,
because many websites don't load at all using the default WebGadget engine i decided to use #PB_Web_Edge instead. Now the sites load but how can i simulate filling out forms and clicking on buttons?
Search found 159 matches
- Tue Apr 08, 2025 8:22 pm
- Forum: Coding Questions
- Topic: How to simulate user input using WebGadget and edge engine?
- Replies: 0
- Views: 1075
- Tue Apr 08, 2025 12:32 am
- Forum: Tricks 'n' Tips
- Topic: Get the Shell Thumbnail for files
- Replies: 30
- Views: 17822
Re: Get the Shell Thumbnail for files
maybe thats helps..
Proper COM result checking
Null checks for all COM pointers
Safe resource cleanup
Encapsulated image copy logic
Stack remains intact
Prevents memory corruption that caused TestProc() to return NaN.
Procedure GetShellThumbnail(Filename.s, ImageNr, Width, Height, Depth=32 ...
- Mon Apr 07, 2025 1:38 am
- Forum: Tricks 'n' Tips
- Topic: Get the Shell Thumbnail for files
- Replies: 30
- Views: 17822
Re: Get the Shell Thumbnail for files
Hello,
I have encountered a strange bug with this code:
There is a bug that happens a lot of times depending on the file that is loaded by GetShellThumbnail().
Any function called after, that returns a DOUBLE, will return "NaN". I found an easy fix by defining a random DOUBLE variable at the end ...
I have encountered a strange bug with this code:
There is a bug that happens a lot of times depending on the file that is loaded by GetShellThumbnail().
Any function called after, that returns a DOUBLE, will return "NaN". I found an easy fix by defining a random DOUBLE variable at the end ...
- Mon Feb 24, 2025 1:35 am
- Forum: Coding Questions
- Topic: Create a Junction?
- Replies: 0
- Views: 435
Create a Junction?
Hi,
I want to create a junction like "mklink /J" does using Windows API.
I found code on the forum for symbolic and hard links but not for junctions.
Much appreciated if help can be provided.
I want to create a junction like "mklink /J" does using Windows API.
I found code on the forum for symbolic and hard links but not for junctions.
Much appreciated if help can be provided.
- Thu Jan 09, 2025 3:34 pm
- Forum: Coding Questions
- Topic: Getting information of firewall status
- Replies: 3
- Views: 2813
Re: Getting information of firewall status
I also would like to know an answer to this.
- Fri Aug 02, 2024 12:30 am
- Forum: Coding Questions
- Topic: Webview example crashes debugger
- Replies: 8
- Views: 2659
Webview example crashes debugger
On Windows PB 6.11 x64 running the Webview example from the help file will crash the debugger when i click on one of the buttons.
"The debugger executable quit unexpectedly"
Compiling it without the debugger works without crashing. Is anyone else experiencing this ...
"The debugger executable quit unexpectedly"
Compiling it without the debugger works without crashing. Is anyone else experiencing this ...
- Tue Jul 30, 2024 9:41 pm
- Forum: Bugs - IDE
- Topic: Ongoing IDE lockups
- Replies: 11
- Views: 8903
Re: Ongoing IDE lockups
I am also experiencing a lot of freezes since PB 6.xx. I am using the windows x64 IDE. The window stops responding and i have to kill the process. It happens at random several times a day.
- Thu Jul 25, 2024 8:32 pm
- Forum: Announcement
- Topic: Include file for native Directshow support in PB4
- Replies: 82
- Views: 89374
Re: Include file for native Directshow support in PB4
Thanks Fred! From what i tested it is working even on x64 for me. 

- Thu Jul 25, 2024 1:32 am
- Forum: Coding Questions
- Topic: I need help making code work for PB 6.11
- Replies: 1
- Views: 712
I need help making code work for PB 6.11
Hello, i was using this code on Purebasic 6.10 x64 and it always worked without any issues. Now with Purebasic 6.11 i am getting an error all of the sudden.
Invalid memory access at line:
*object = Object_GetOrAllocateID(g_DshowObjects, *This)
And Object_GetOrAllocateID() is imported like this ...
Invalid memory access at line:
*object = Object_GetOrAllocateID(g_DshowObjects, *This)
And Object_GetOrAllocateID() is imported like this ...
- Sun Jul 14, 2024 11:45 pm
- Forum: Announcement
- Topic: Include file for native Directshow support in PB4
- Replies: 82
- Views: 89374
Re: Include file for native Directshow support in PB4
This code was still working fine on 6.10 but With PureBasic 6.11 it now gives an IMA on Object_GetOrAllocateID() does anyone have a solution please?
- Fri Jul 05, 2024 8:36 pm
- Forum: Coding Questions
- Topic: Obtain real path (I need translation to Purebasic)
- Replies: 3
- Views: 602
Re: Obtain real path (I need translation to Purebasic)
Thanks, your code only accepts files how can i make this work with paths?
- Fri Jul 05, 2024 5:33 pm
- Forum: Coding Questions
- Topic: Obtain real path (I need translation to Purebasic)
- Replies: 3
- Views: 602
Obtain real path (I need translation to Purebasic)
The following code should give me the real path in case a part of the path is going through a symbolic link.
If someone could translate it to Purebasic i would appreciate it.
void realpath(const char *filename, wchar_t *pathbuf, int size)
{
OFSTRUCT of;
HANDLE file = (HANDLE)OpenFile(filename ...
If someone could translate it to Purebasic i would appreciate it.
void realpath(const char *filename, wchar_t *pathbuf, int size)
{
OFSTRUCT of;
HANDLE file = (HANDLE)OpenFile(filename ...
- Wed Mar 13, 2024 12:51 am
- Forum: Bugs - IDE
- Topic: [Done] No Autocomplete Popup
- Replies: 2
- Views: 1681
[Done] No Autocomplete Popup
On PB 6.10 Beta 7
When i write "MyModule::" normally the autocomplete list would pop up right away but it only does now when i type the first letter. The same happens with structured objects and others.
DeclareModule MyModule
Declare.i Test()
EndDeclareModule
Module MyModule
Procedure.i ...
When i write "MyModule::" normally the autocomplete list would pop up right away but it only does now when i type the first letter. The same happens with structured objects and others.
DeclareModule MyModule
Declare.i Test()
EndDeclareModule
Module MyModule
Procedure.i ...
- Mon Mar 04, 2024 5:17 am
- Forum: Coding Questions
- Topic: how to send a message to the windows notification center?
- Replies: 20
- Views: 7393
Re: how to send a message to the windows notification center?
Is there no winapi command to trigger a windows notification? I don't want to enable scripting or use powershell. There has to be a better way of doing this?
- Wed Nov 22, 2023 8:05 pm
- Forum: Tricks 'n' Tips
- Topic: Object Theme Library (for Dark or Light Theme)
- Replies: 72
- Views: 19841
Re: Object Theme Library (for Dark or Light Theme)
Very nice! I would like to ask if you could put as much of your code as possible into a module for better code separation?