1. Trang Bartell
  2. PowerBuilder
  3. Tuesday, 31 May 2022 19:08 PM UTC

Issue:

  • In the PowerBuilder application, I’m using  GetContextService("Internet", iinet_base) to launch the Web Browser.  Internet Explorer came up as the result. 

 What I tried:

  • We’re currently using Windows 10, so I changed the default setting for Web Browsers to both Chrome and MS Edge.  It didn’t work.  The PowerBuilder application still came up in IE no matter what browser I selected.
  • I tried the same on Windows 7 and PowerBuilder application worked fine as expected using the default Browser I selected.

 Questions:

  • Is there any known issue with PowerBuilder and Windows 10 in the scenario described above?
  • Are there any alternative coding that can be used to accomplish this task?

Thank you!

Trang Bartell Accepted Answer Pending Moderation
  1. Wednesday, 1 June 2022 13:55 PM UTC
  2. PowerBuilder
  3. # 1

Thank you very much everyone for your responses.  I found a quicker solution which was to uninstall IE from the users' Windows 10 PC.  PB application opened fine in MS Edge or Chrome based on the default web browsers selected.  

Comment
  1. Miguel Leeuwe
  2. Thursday, 2 June 2022 00:09 AM UTC
There should be a ticket somewhere reporting of powerbuilder not correctly using the browser set as Default ...
  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 2 June 2022 00:11 AM UTC
Ah no, that was about MAPI and the default email client: https://www.appeon.com/standardsupport/track/view?id=4163
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 31 May 2022 19:19 PM UTC
  2. PowerBuilder
  3. # 2

Hi  Trang;

 The PB iNet object class is now deprecated.

  FYI: You can just use the Run() command ...  https://community.appeon.com/index.php/qna/q-a/how-to-run-chrome

  Note: PB now has a built-in web browser control in PB2019 and higher.

Regards ... Chris

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 31 May 2022 19:16 PM UTC
  2. PowerBuilder
  3. # 3

Hi, Trang - 

You might wish to see if the following code sample helps you find a solution:

   https://community.appeon.com/index.php/codeexchange/powerbuilder/313-a-get-default-browser-function

Best regards, John

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.