1. Narayanamoorthy Thangavel
  2. PowerBuilder
  3. Wednesday, 4 May 2022 06:13 AM UTC

Hi All,

 

I am using below internet browser for this GetContextService. If i am want to use Microsoft edge then what will be the exact value i have to change here?

 

GetContextService("Internet", inet_url)
inet_url.HyperlinkToURL( ls_url)

 

Br,

Moorthy

René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 4 May 2022 09:56 AM UTC
  2. PowerBuilder
  3. # 1

HyperlinkToURL opens the Windows default browser. I guess you have to change the default browser of Windows installation. You can't specify a browser if you use this function. 

Comment
  1. Narayanamoorthy Thangavel
  2. Friday, 6 May 2022 11:39 AM UTC
I changed the default browser but still it is opening IE browser.Any idea about this?
  1. Helpful
  1. Miguel Leeuwe
  2. Saturday, 7 May 2022 03:47 AM UTC
Hi,

Maybe not related, but I reported a bug of PB not opening the default EMAIL client correctly (depending on pb.ini setting UseSimpleMapi).

https://www.appeon.com/standardsupport/track/view?id=4163

Could it be there's some logic in PB that doesn't always find the default programs correctly?

regards.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 6 May 2022 12:27 PM UTC
  2. PowerBuilder
  3. # 2

There was a thread about this subject yesterday:

https://community.appeon.com/index.php/qna/q-a/how-to-access-html-file-using-microdoftedge

Take a look at my response. You can get the location of msedge.exe from the registry and use it with the Run function.

Comment
  1. Narayanamoorthy Thangavel
  2. Friday, 6 May 2022 12:32 PM UTC
I just uninstalled and checked but this time it was opening my default browser. Now i am getting different error as below.



Error(s) occured during request prosessing: Mandatory parameter where or object_id is missing.
  1. Helpful
  1. Roland Smith
  2. Friday, 6 May 2022 12:43 PM UTC
Why would you have to uninstall? Uninstall what?

All you have to do is get the location of msedge.exe from the registry and then do this:

Run(ls_msedge + " " + ls_myurl) // ls_myurl is set to the url to load.
  1. Helpful
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.