1. Raymond Longoria
  2. PowerBuilder
  3. Wednesday, 23 March 2022 23:18 PM UTC

I am maintaining an application in Powerbuilder 2021. The application previously constructed a script that was sent to the report server via IE to retrieve a report in pdf format. IE would prompt the user to either save or open the pdf file. We are getting away from IE. I am trying to use the webbrowser control to run the script but nothing happens. I use the Navigate function but nothing happens and I get no errors. I have looked through the documentation and have not found anything helpful. Is the webbrowser control the best way to do this? Any help would be appreciated.

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 23 March 2022 23:29 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Raymond;

   Did you use the WebBrowserSet command first to condition the WB Control before its use?

https://docs.appeon.com/pb2021/powerscript_reference/ch02s04s874.html

Regards ... Chris

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 24 March 2022 20:43 PM UTC
Correct ... the WebBrowserSet commands should be done before the WB is instantiated and then those setting are "in effect" for the life of the WB Control(s). Of course, you can close the WB Control, redo the WebBrowserSet commands and then open another WB control to take these changes into effect when it runs.

Did you set the "ProxyAuto=1" only so that the Chromium engine gets your proxy information from the machines current "Internet" settings?
  1. Helpful
  1. Raymond Longoria
  2. Friday, 25 March 2022 17:50 PM UTC
I set the ProxyAuto and it worked! Thank you very much for your help!
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 25 March 2022 18:49 PM UTC
Hi Raymond - that is "Awesome"" news ... thanks for the feedback! :-)
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.