Discussions tagged WebBrowser

Hello, We go from MicrosoftWebBrowser (PB17) to WebBrowser (PB22).What will this code look like with new objects? 1. ls_value = ole_1.Object.Document.getElementByID('mmm').value 2. ole_ilink = ole_1.Object.Document.ActiveElement 3. ole_1.Object.D...
Hello Using PB 2022 R3 build 3356 I need to open a file ( pdf, jpg) from a network drive, which has NOT been mapped as a local drive.   The file is selected by the end-user, whose path and name is obtained from GetFileOpenName command.   The return...
Hi, we recently moved to PB 2022 R3 3356 from PB 2019 R3 and use the CEF browser. There seem to be some difference in behavior between CEF and WebView2 in terms of caching. We were previously able to set and see the CachePath information with CEF -...
Hi Folks How to disable the statusbar in the left corner of the webview2 webbrowser of PB2022 R3 ? I found  https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2settings.isstatusbarenabled?view=webview2-dotnet-1.0.2...
Is there anyway to suppress the "WebView runtime not installed" message when opening a window that has the WebBrowser control on it and the WebView2 Runtime does not exist?  We are currently transitioning from using old OLE controls for URL function...
Hi; We have a window that contains a WebBrowser control. There are jquery and Kendo scripts on the page that are failing in the control. We get a message saying "JSON not found" and then several cascading errors. The scripts run fine if the page is ...
does the current (PB22R3) web browser control support websockets? It would be really nice if there was a native control for this, or httpclient extended for this.  I know about some 3rd party ones that support this (chilkat etc), but i assume i coul...
Hello all fellow PB'ers, Not sure how to title this question. Using PowerBuilder 2022 R2 (Build 2828), we are seeing some weird error messages generated from our application (typically null object references) and I was curious if the following coul...
I'm noticed that PowerBuilder IDE is logging "Windows Error Reporting" events for APPCRASH  PB220.exe 22.2.0.3289 KERNELBASE.dll 10.0.17763.5328 The funny thing is that PB is not running, and it's still logging errors.    It's logging several items ...
Hi I am developing functinality to convert .jpg to pdf using webbrowser to open the file and save as pdf. The problem is make script creating the web browser windows wait until the browser is finished opening the file save the pdf. the webbrowser ...
Hello, I was wondering if the PowerBuilder WebBrowser using WebView2 might have a way to configure the setting for Tracking Prevention between Basic/Balanced/Strict?  The only configuration function available on the control seems to be the WebBrows...
I try to code hybrid app using pB2022 R3 + webBrowser Control (webview2). Normally, it is a sheet window contains a webBrowser control, and the webBrowser navigate to my webapp. It functions well within the webBrowser. however, when lost focus of th...
Dear All, I am using Powerbuilder webBrowser control (webview2), and try to send message via javascript. according the help, call ``window.webBrowser.postMessage('my message...');``, but not work.  Call out dev-console by [F12], and find that ``wi...
Good morning, I'm using a OLE Web Browser as a E-mail template, this email is a HTML page, and i can modify manu properties as the size, font, Bold, Italic, Underline, Align, etc.. of my Template.     Can i reproduce the same is the new WebBros...
I have an application in Powerbuilder 2022 R2 and I need to clear the download history in the browser control before downloading a file. I looked through the documentation and I did not find a way to do this. Any help would be appreciated....
I have a PB 2022 desktop application that opens an internal website in the new chromium webbrowser object. It prompts for SSO credentials prior to opening the site. Since the users log into the app using their SSO credentials, I was able to use the E...
PB Version 2021 build 1509 Hello.. I have a question, I have a screen (window + webbrowser control fullscreen). When I open the window, I load an HTML page (it could be google.com), but it doesn't have focus (specifically in an input field) If I ...
Hi Everyone,   I am trying to migrate my app from CEF to the new Webview2 control. I could manage to navigate to the desired html, load its javascript, register a PB user event, trigger the user event from Javascript and call EvaluateJavascriptAsy...
In PB2022, I've added a web browser control to a window with a button that has the following script behind it: STRING ls_urlLONG ll_return ls_url = "https://www.youtube.com/watch?v=w-15bjJxh6E" ll_return = wb_1.Navigate(ls_url)IF ll_return <>...
Hi is it possible to print from the new webview2 based webbrowser component included in PB 2022 R2 (build 2819)? Print() method just opens preview. Print(job, x, y) through job prints an empty page. Is there a workaround through Javascript etc? I...
  • Page :
  • 1