Search found 1247 matches

by Kiffi
Wed Mar 27, 2024 9:01 am
Forum: Coding Questions
Topic: IMA error with ExamineIPAddresses(#PB_Network_IPv4)
Replies: 9
Views: 259

Re: IMA error with ExamineIPAddresses(#PB_Network_IPv4)

Tranquil wrote: Wed Mar 27, 2024 8:59 amThe code you posted works fine for me in both cases:
-> Connected to VPN: Shows internal IPv4 (Using PulseSecure as VPN Client)
-> not Connected to VPN: Shows IPv4 of my network
same here.

// Edit: Sorry, I missed the Linux part. :oops:
by Kiffi
Mon Mar 25, 2024 10:17 pm
Forum: Coding Questions
Topic: Using JQuery with WebViewExecuteScript possible?
Replies: 3
Views: 145

Re: Using JQuery with WebViewExecuteScript possible?

Now I'm waiting until the DOM content is completely loaded and send a message back to my PB instance. here's an example to wait until jQuery is ready: Enumeration #Window #WebViewGadget EndEnumeration Procedure jQueryIsReady(JsonParameters$) WebViewExecuteScript(#WebViewGadget, "$('#testDiv')....
by Kiffi
Mon Mar 25, 2024 2:51 pm
Forum: Coding Questions
Topic: Using JQuery with WebViewExecuteScript possible?
Replies: 3
Views: 145

Re: Using JQuery with WebViewExecuteScript possible?

Perhaps you have not taken into account that jQuery needs a little time before it is ready for use? Enumeration #Window #WebViewGadget #Button EndEnumeration Procedure ButtonGadgetEvent() WebViewExecuteScript(#WebViewGadget, "$('#testDiv').addClass('blueBackground')") EndProcedure HTML.s =...
by Kiffi
Sat Mar 23, 2024 12:12 am
Forum: Tricks 'n' Tips
Topic: Edge WebGadget - Set BrowserArguments, UserDataFolder (Windows)
Replies: 4
Views: 337

Re: Edge WebGadget - Set BrowserArguments, UserDataFolder (Windows)

breeze4me wrote: Fri Mar 22, 2024 5:10 pmSetting the arguments (optional switches) at a WebGadget launch is simple, as they can be specified via a single environment variable.
Very cool! Thanks! Image
by Kiffi
Fri Mar 22, 2024 1:38 pm
Forum: Bugs - Windows
Topic: [Done] 6.10 b9 OpenXMLDialog IMA
Replies: 3
Views: 192

Re: [6.10 b9] OpenXMLDialog IMA

Confirmed.
by Kiffi
Fri Mar 22, 2024 1:38 pm
Forum: Bugs - Windows
Topic: [Done] PB6.10B9x86 WebGadget IMA SetGadgetAttribute()
Replies: 3
Views: 200

Re: [PB6.10B9] WebGadget IMA SetGadgetAttribute()

No Problem here.

Windows 10 Pro / PB 6.10 b9 (x64)
by Kiffi
Tue Mar 19, 2024 11:24 am
Forum: Coding Questions
Topic: i need a simple routine to convert unix-time to date-time
Replies: 3
Views: 158

Re: i need a simple routine to convert unix-time to date-time

Code: Select all

UnixTime = 1394928000

Debug FormatDate("%dd.%mm.%yyyy %hh:%ii", UnixTime)

BTW: It's the 16 march 2014 0 hours and 0 minutes
by Kiffi
Thu Mar 14, 2024 9:22 pm
Forum: Bugs - Windows
Topic: [Done] Text not longer readable in form PB6.10 b8
Replies: 5
Views: 401

Re: Text not longer readable in form PB6.10 b8

I cannot confirm this (Windows 10 Pro)

Have you ever tried whether \PureBasic\Examples\Sources\Gadget.pb works?
by Kiffi
Thu Mar 14, 2024 7:18 pm
Forum: Windows
Topic: Refresh/Reload a web page
Replies: 7
Views: 213

Re: Refresh/Reload a web page

IdeasVacuum wrote: Thu Mar 14, 2024 6:43 pmYes, if by new one you mean PB6.04 LTS.
No, I mean the WebGadget that is delivered with version 6.10. If you add the #PB_Web_Edge flag there, WebView2 is used (under Windows). This is pretty much the most modern browser engine you can use.
by Kiffi
Thu Mar 14, 2024 1:39 pm
Forum: Windows
Topic: Refresh/Reload a web page
Replies: 7
Views: 213

Re: Refresh/Reload a web page

IdeasVacuum wrote: Thu Mar 14, 2024 1:03 pmIdeal solution would be to use the WebGadget but it draws the web pages very badly :mrgreen:
even the new one?
by Kiffi
Wed Feb 28, 2024 12:43 pm
Forum: Bugs - Windows
Topic: [Done] PB6.10beta6 New pop-up menu on Virtual vertical scroll gadget does nothing
Replies: 15
Views: 716

Re: [PB6.10beta6] New pop-up menu on Virtual vertical scroll gadget does nothing

EnableExplicit #Window = 0 #ListIconGadget = 0 Define Counter If OpenWindow(#Window, 0, 0, 500, 500, "ListIconGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ListIconGadget(#ListIconGadget, 0, 0, 500, 500, "Column 1", 200, #PB_ListIcon_GridLines) AddGadgetColumn(#Lis...
by Kiffi
Fri Feb 23, 2024 10:28 am
Forum: Coding Questions
Topic: Close button intermittently doesn't close
Replies: 17
Views: 652

Re: Close button intermittently doesn't close

My guess: The use of several WaitWindowEvents.

(But without code it is impossible to say exactly.)
by Kiffi
Sat Feb 10, 2024 11:19 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 286
Views: 36281

Re: PureBasic 6.10 beta 6 is out !

Fred wrote: Sat Feb 10, 2024 10:56 am

Code: Select all

Added: #PB_WebView_ICoreController attribute support WebGaget() and WebViewGadget()
Added: All ICoreWebView2 interfaces and constants as residents, thanks to Justin (Windows)
Thanks a lot! Image
by Kiffi
Mon Feb 05, 2024 9:54 am
Forum: Bugs - IDE
Topic: [PB610b5] Is the IDE a sticky window?
Replies: 5
Views: 442

Re: [PB610b5] Is the IDE a sticky window?

I cannot confirm this. I doubt that this is a bug.