Search found 857 matches

by zikitrake
Thu Jun 19, 2025 8:04 am
Forum: Coding Questions
Topic: ExcelWriter.pb has stopped working
Replies: 6
Views: 963

Re: ExcelWriter.pb has stopped working

Is it possible to open an existing excel file to continue writing in it using Excelwriter.pb?

Thank you in advance!
by zikitrake
Wed Jun 04, 2025 5:15 pm
Forum: Announcement
Topic: PureBasic 6.21 is out !
Replies: 169
Views: 30225

Re: PureBasic 6.21 beta 10 is out !

Very thanks to all PB Team!
by zikitrake
Mon May 19, 2025 12:04 pm
Forum: Applications - Feedback and Discussion
Topic: ICEProces New Version
Replies: 6
Views: 1665

Re: ICEProces New Version

Thank you very much! I will definitely try it out
I am a registered user of ICE Designer but I don't use it because I can't manage projects with multiple forms at once.

I'm too used to how PureVision (Paul's) handles multiple windows and it has been impossible for me to adapt to ICE Designer so far ...
by zikitrake
Thu Feb 13, 2025 11:34 am
Forum: Announcement
Topic: PureBasic 6.20 is out !
Replies: 148
Views: 76695

Re: PureBasic 6.20 is out !

Thank you, PB Team for your effort!
by zikitrake
Thu Feb 13, 2025 11:28 am
Forum: General Discussion
Topic: Website incredibly slow?
Replies: 78
Views: 16580

Re: Website incredibly slow?

16 second here to refresh this page (tried loged, anonymous or In private mode).

Edit: 34 seconds to send this message :cry:
by zikitrake
Wed Feb 12, 2025 8:35 am
Forum: The PureBasic Editor
Topic: Please insert hardcopy in the PB IDE
Replies: 13
Views: 3128

Re: Please insert hardcopy in the PB IDE

Skipper wrote: Tue Feb 11, 2025 11:35 pm..Trying to get it to work on Win11 with PB6.2b4 failed. Nothing happens when pressing CTRL-P, the same when running it as administrator.
Works fine here, in Windows 11 x64, PB6.20beta4 x64 :D
by zikitrake
Thu Feb 06, 2025 1:13 pm
Forum: Coding Questions
Topic: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?
Replies: 11
Views: 5207

Re: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?


This method will not work for the site “www.openstreetmap.org”, you will need to get the information through MutationObserver or use the API provided by that site.
...


Thank you! I think I already solved it with MutationObserver some minutes ago :)

https://www.purebasic.fr/english/viewtopic ...
by zikitrake
Thu Feb 06, 2025 11:47 am
Forum: Coding Questions
Topic: webviewgadget: get console message with WebMessageReceived
Replies: 1
Views: 1157

Re: webviewgadget: get console message with WebMessageReceived

Just solved with Chatgpt help :D

It works fine If I change the js to


javascript = "var observer = new MutationObserver(function(mutations) {"
javascript + " window.chrome.webview.postMessage('PBWEB content changed!');"
javascript + " });"
javascript + "observer.observe(document.body ...
by zikitrake
Thu Feb 06, 2025 11:16 am
Forum: Coding Questions
Topic: webviewgadget: get console message with WebMessageReceived
Replies: 1
Views: 1157

webviewgadget: get console message with WebMessageReceived

(Solved :D )
Following (at least trying :D) @Infratec's steps, I'm trying to read console messages from a viewgadget.

When I finish loading a web, I add a JS function with the function MutationObserver() with the procedure MutationObserverSet(webView)

Then I activate an eventHandler to capture ...
by zikitrake
Wed Feb 05, 2025 9:01 am
Forum: Coding Questions
Topic: PB6.20B4 - WebViewGadget - How to get/set the zoom factor?
Replies: 6
Views: 2360

Re: PB6.20B4 - WebViewGadget - How to get/set the zoom factor?

Kukulkan wrote: Wed Feb 05, 2025 8:38 am...As I wrote, I need a cross platform solution. Looks like this is only for Windows :(
...
Sorry! That's what I get for reading only the post title. :oops:
by zikitrake
Tue Feb 04, 2025 6:33 pm
Forum: Coding Questions
Topic: PB6.20B4 - WebViewGadget - How to get/set the zoom factor?
Replies: 6
Views: 2360

Re: PB6.20B4 - WebViewGadget - How to get/set the zoom factor?

This sample get the zoom factor and put it to 400% as example

(This is obvious, but you can try reduce/increment the zoom via Ctrl+ or Ctrl- or using the mouse wheel :lol: )

Procedure.d WebViewGetZoomFactor(WebView)

Protected Result.d
Protected Controller.ICoreWebView2Controller

If ...
by zikitrake
Tue Feb 04, 2025 10:17 am
Forum: Coding Questions
Topic: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?
Replies: 11
Views: 5207

Re: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?

following in @infratec 's footst, I just tried adding a new procedure: WebViewSetSourceChangedEventHandler() to try detect when a page experienced a change, but it don't works either... I'll continue with my experiments :lol ...
by zikitrake
Mon Feb 03, 2025 10:55 pm
Forum: Coding Questions
Topic: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?
Replies: 11
Views: 5207

Re: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?



I'm trying your code but it only works when a full webpage is loaded, no?

In this example, if I change in the left window the name "Jani" to "Peter", and click in "Run" button It don't detect any change in the web ...
by zikitrake
Mon Feb 03, 2025 10:10 am
Forum: Coding Questions
Topic: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?
Replies: 11
Views: 5207

Re: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?

@infratec, @dige Thank you so much for bailing me out!

This last code works great for me! :D
by zikitrake
Fri Jan 31, 2025 3:44 pm
Forum: Coding Questions
Topic: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?
Replies: 11
Views: 5207

Re: Any idea for #PB_Web_Busy with WebViewGadget? or other WebPageLoaded procedure?

dige wrote: Fri Jan 31, 2025 2:05 pm With the WebViewGadget() you can use the code injection trick. So query “DOMContentLoaded” via addEventListener and have it reported back

https://www.purebasic.fr/english/viewto ... ed#p620606
Nice! Thank you, I'll try at night. Have a nice weekend!!