- Toan Nguyen
- PowerBuilder
- Friday, 29 December 2023 08:40 PM UTC
Hello All,
I have recently migrated PB applications from PB2017 R3 to PB2019 R3 to make use of the new Web Browser control.
I want to replace the Microsoft Web Browser OLE Control with the Web Browser control in the migrated applications.
My applications use the web page document interface in the Microsoft Web Browser OLE Control to display XSL file.
The sample codes in the script to display XSL data:
OLEobject iDOM, iXSL
string ls_xsl_file // XSL file
string ls_transform_file // transformed file
if iXSL.load(ls_xsl_file) then
ls_transform_file = iDOM.transformnode(ls_xsl_file)
this.ole_wb.object.document.open()
this.ole_wb.object.document.write(ls_transform_file)
this.ole_wb.object.document.close()
end if
Since the Web Browser control in PB2019R3 does not support this feature, can someone provide guidance on how I can do the display with the new web browser control?
Thanks you very much in advance and Happy New Year to everyone!!!
Tony Nguyen
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.